n := elements size nthRoot: 3 ceiling should be n := (elements size nthRoot: 3) ceiling
in
on: elements | n rowSizes rowPositions columnSizes columnPositions levelSizes levelPositions | n := elements size nthRoot: 3 ceiling. "Initialize the cell sizes" rowSizes := Array new: n. columnSizes := Array new: n. levelSizes := Array new: n.
Otherwise, Array is initialized on a float and that gives an error.
usman
Thanks Usman,
This is now fixed Alexandre
On Oct 10, 2013, at 8:29 AM, Usman Bhatti usman.bhatti@gmail.com wrote:
n := elements size nthRoot: 3 ceiling should be n := (elements size nthRoot: 3) ceiling
in
on: elements | n rowSizes rowPositions columnSizes columnPositions levelSizes levelPositions | n := elements size nthRoot: 3 ceiling.
"Initialize the cell sizes" rowSizes := Array new: n. columnSizes := Array new: n. levelSizes := Array new: n.
Otherwise, Array is initialized on a float and that gives an error.
usman
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev