From: Alexander K. <als...@in...> - 2015-01-05 15:07:30
|
There is a file "a.mac" that contains a single line: a: x + 1; The result of the following commands (in Maxima 5.20.1, as well as in branch_5_35_base_60_g4d32202) simp: false$ a: x + 1; batchload("a.mac")$ a; is (%o2) x + 1 where the expression was inputted directly and (%o4) 1 + x where it was loaded from file and thus the expression contains the source information. One expects that once the simplification is off, there should be no changes of the order of operands. It is possible to work-around this problem using strip-lineinfo: ?strip\-lineinfo(a); gives (%o5) x + 1 but I guess it would be better to fix this bug. Note that strip-lineinfo was added to Maxima on 2012-12-24 (commit e703a515) thus it is not available in older versions. -- Regards, ASK |