Changes in src/Actions/toCLIString.cpp [33e801:27d0bc]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/toCLIString.cpp
r33e801 r27d0bc 40 40 #include "LinearAlgebra/RealSpaceMatrix.hpp" 41 41 #include "LinearAlgebra/Vector.hpp" 42 #include "Parameters/Specifics/KeyValuePair.hpp"43 44 #include "Actions/toPythonString.hpp"45 42 46 43 template <> … … 68 65 << _value.at(2,0) << "," 69 66 << _value.at(2,1) << "," 70 << _value.at(2,2) 71 << "\""; 67 << _value.at(2,2) << "\""; 72 68 return output.str(); 73 69 } … … 77 73 { 78 74 std::stringstream output; 79 output << "\"" << toPythonString(_value)<< "\"";75 output << "\"" << _value[0] << "," << _value[1] << "," << _value[2] << "\""; 80 76 return output.str(); 81 77 } … … 88 84 return output.str(); 89 85 } 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.