We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a91962 commit be6d095Copy full SHA for be6d095
1 file changed
OREData/ored/utilities/log.cpp
@@ -270,6 +270,8 @@ string EventMessage::json() const {
270
value = to_string(boost::any_cast<unsigned int>(p.second));
271
} else if (p.second.type() == typeid(unsigned short)) {
272
value = to_string(boost::any_cast<unsigned short>(p.second));
273
+ } else if (p.second.type() == typeid(float)) {
274
+ value = to_string(boost::any_cast<float>(p.second));
275
} else if (p.second.type() == typeid(QuantLib::Size)) {
276
value = to_string(boost::any_cast<QuantLib::Size>(p.second));
277
} else if (p.second.type() == typeid(QuantLib::Real)) {
0 commit comments