Example #1
0
static COMMAND_FUNC( do_lvlspercomp )
{
	int n;

	n=(int)how_many("number of levels per component");
	set_lvls_per_comp(n);
}
Example #2
0
File: bplanes.c Project: E-LLP/QuIP
void set_bits_per_comp(int n)
{
	int nl=1;

	while(n--)
		nl *= 2;

	set_lvls_per_comp(nl);
}