File: uniDistribution.cpp

package info (click to toggle)
fastml 3.11-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,772 kB
  • sloc: cpp: 48,522; perl: 3,588; ansic: 819; makefile: 386; python: 83; sh: 55
file content (11 lines) | stat: -rw-r--r-- 352 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
// $Id: uniDistribution.cpp 2711 2007-11-19 14:49:54Z itaymay $

#include "uniDistribution.h"
#include "errorMsg.h"


void uniDistribution::change_number_of_categories(int in_number_of_categories)
{
	if (in_number_of_categories != 1)
		errorMsg::reportError("error in uniDistribution::change_number_of_categories() - number of categories is not 1");
}