Patch for Units.cs versus cs4248
Helge Horch
Helge.Horch at munich.netsurf.de
Sat Aug 25 16:47:08 UTC 2001
Folks,
I just noticed a hiccup when updating a 3.1a image that had my Units
package from <http://home.netsurf.de/helge.horch/squeak/units.html>
loaded: You may get a MessageNotUnderstood (FloatArray>>isZero) during
file-in of changeset #4248.
Attached is a small patch that helps over the bump; it's basically
ArrayedCollection>>isZero
^false
It happens because Units.cs modified Float>>/ to ask #isZero instead of
comparing against 0, so that unit arithmetic works. The patch will be
integrated into further releases of Units.cs.
Cheers,
Helge
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UnitsFix4248.1.cs.gz
Type: application/octet-stream
Size: 239 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010825/e5131f4a/UnitsFix4248.1.cs.obj
More information about the Squeak-dev
mailing list
|