[system] Repository:
ViewVC logotype

Revision 5323


Jump to revision: Previous Next
Author: dpvc
Date: Tue Aug 14 15:57:19 2007 UTC (12 years, 3 months ago)
Log Message:
Fixed a problem where Real's were being promoted to NumberWithReals
during the numeric comparison (when units should be ignored).  This
error was a result of the changes made this summer.

[This class should probably be redesigned to implement the overloaded
operators and, in particular, handle the equality check in compare()
rather than an over-ridden cmp_parse.  That would make it possible to
manipulate numbers-with-units via perl code in a natural way, just
like all the other MathObjects.]

Changed paths:

Path Details
Directorytrunk/pg/lib/Parser/Legacy/NumberWithUnits.pm modified , text changed

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9