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

update rng-state, change output format

This commit is contained in:
Luchang Jin
2016-09-18 13:47:48 -04:00
parent 4fb37ececd
commit 1abbe2fd0c
2 changed files with 81 additions and 38 deletions

View File

@ -105,6 +105,16 @@ T& reads(T& x, const std::string& str)
return x;
}
void fdisplay(FILE* fp, const std::string& str)
{
fprintf(fp, "%s", str.c_str());
}
void fdisplayln(FILE* fp, const std::string& str)
{
fprintf(fp, "%s\n", str.c_str());
}
#ifdef CURRENT_DEFAULT_NAMESPACE_NAME
}
#endif