Revision: 10907
http://gmat.svn.sourceforge.net/gmat/?rev=10907&view=rev
Author: lindajun
Date: 2012-09-21 20:15:11 +0000 (Fri, 21 Sep 2012)
Log Message:
-----------
Fix for GMT-3042 Behavior of one-element arrays in math statements is
inconsistent
Updated so that setting scalar to one element array or one element array to
scalar is allowed.
Assignment - Updated to allow setting scalar to one element array or vice-versa
in Validate().
ElementWrapper - Updated to set scalar to matrix in SetValue().
Interpreter - Updated to set scalar to matrix in SetObjectToValue().
Array - Updated to set scalar to matrix in SetStringParameter().
StringUtil - Added IsOneElementArray() and finished implementation of
ReplaceRepeatedPlusMinusSigns().
Modified Paths:
--------------
trunk/src/base/command/Assignment.cpp
trunk/src/base/foundation/ElementWrapper.cpp
trunk/src/base/interpreter/Interpreter.cpp
trunk/src/base/parameter/Array.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.
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Gmat-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmat-svn