1. Pynac
  2. Untitled project
  3. pynac

Commits

Jean-Pierre Flori  committed 8dd74ae

Minor fix to correctly compare numerics

  • Participants
  • Parent commits b87f395
  • Branches default

Comments (0)

Files changed (1)

File ginac/order.cpp

View file
 							     static_cast<const fderivative&>(rh));
 		else
 			// using GiNaC functions by default
-			return -lh.compare_same_type(rh);
+			return lh.compare_same_type(rh);
 		
 	// at present numerics are combined into overall_coefficient
 	// even when hold parameter is used