Changes in src/Actions/toCLIString.cpp [27d0bc:33e801]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/toCLIString.cpp
r27d0bc r33e801 40 40 #include "LinearAlgebra/RealSpaceMatrix.hpp" 41 41 #include "LinearAlgebra/Vector.hpp" 42 #include "Parameters/Specifics/KeyValuePair.hpp" 43 44 #include "Actions/toPythonString.hpp" 42 45 43 46 template <> … … 65 68 << _value.at(2,0) << "," 66 69 << _value.at(2,1) << "," 67 << _value.at(2,2) << "\""; 70 << _value.at(2,2) 71 << "\""; 68 72 return output.str(); 69 73 } … … 73 77 { 74 78 std::stringstream output; 75 output << "\"" << _value[0] << "," << _value[1] << "," << _value[2]<< "\"";79 output << "\"" << toPythonString(_value) << "\""; 76 80 return output.str(); 77 81 } … … 84 88 return output.str(); 85 89 } 90 91 template <> 92 const std::string toCLIString( const KeyValuePair& _value) 93 { 94 std::stringstream output; 95 output << "\"" << toPythonString(_value) << "\""; 96 return output.str(); 97 }
Note:
See TracChangeset
for help on using the changeset viewer.