mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-16 14:57:05 +01:00
Fixing JSON for complex numbers
This commit is contained in:
@ -43,6 +43,7 @@ JSONWriter::~JSONWriter(void)
|
||||
cout << ss_.str() << endl;
|
||||
// write prettified JSON to file
|
||||
std::ofstream os(fileName_);
|
||||
std::cout << "Writing on file" << std::endl;
|
||||
os << std::setw(2) << json::parse(ss_.str()) << std::endl;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user