In @antndlcrx original code, the number of heads was hardcoded to ensure that the input size was exactly divisible. I have not incorporated an automatic way of handling this, so currently I expect it will not fail gracefully.
We can fix this pretty easily, by returning an error message (and maybe make a suggestion for the sizes based on the supplied number of heads).
In @antndlcrx original code, the number of heads was hardcoded to ensure that the input size was exactly divisible. I have not incorporated an automatic way of handling this, so currently I expect it will not fail gracefully.
We can fix this pretty easily, by returning an error message (and maybe make a suggestion for the sizes based on the supplied number of heads).