1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-12 20:27:06 +01:00

Fixing JSON error for complex numbers

This commit is contained in:
Guido Cossu
2017-05-08 21:56:44 +01:00
parent 8ba0494485
commit 5aafa335fe
3 changed files with 22 additions and 22 deletions

View File

@ -233,11 +233,13 @@ int main(int argc,char **argv)
myclass jcopy1;
std::vector<myclass> jveccopy1;
read(RD,"obj",jcopy1);
//read(RD,"objvec", jveccopy1);
//std::cout << "Loaded (JSON) -----------------" << std::endl;
//std::cout << jcopy1 << std::endl << jveccopy1 << std::endl;
read(RD,"objvec", jveccopy1);
std::cout << "Loaded (JSON) -----------------" << std::endl;
std::cout << jcopy1 << std::endl << jveccopy1 << std::endl;
}
/*
/*
// This is still work in progress
{
// Testing the next element function
JSONReader RD("test.json");