Revision: 11298 http://sourceforge.net/p/gmat/code/11298 Author: lindajun Date: 2013-02-06 16:33:21 +0000 (Wed, 06 Feb 2013) Log Message: ----------- Fix for the following math parser issues: GMT-3461 Valid equation gives invalid result GMT-3497 Math parsing issue with unary minus, scientific notation, unary operator GMT-3502 Numeric error caused by math parsing issue GMT-3507 Numeric error caused by math parsing issue with transpose GMT-3531 Incorrect results with nested unary operators GMT-3536 Incorrect results with power operator, then inverse operator
StringUtil - Added new methods IsSimpleArrayElement() and IsThereScientificNotation() to correctly handle removing extra layer of parenthesis and scientific notation. MathParser - Added more math equation validation and debug. MathTree, Subtract - Just error message change. Modified Paths: -------------- trunk/src/base/interpreter/MathParser.cpp trunk/src/base/interpreter/MathTree.cpp trunk/src/base/math/Subtract.cpp trunk/src/base/util/StringUtil.cpp trunk/src/base/util/StringUtil.hpp This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Gmat-svn mailing list Gmat-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gmat-svn