Fix UIUC libc++ compilation.
This commit is contained in:
parent
3f3bd6994a
commit
0cff350dab
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ bool check_float( const string &token)
|
|||
{
|
||||
float value;
|
||||
istringstream stream(token.c_str());
|
||||
return (stream >> value);
|
||||
return (stream >> value).good();
|
||||
}
|
||||
|
||||
void d_2_to_3( double array2D[100][100], double array3D[][100][100], int index3D)
|
||||
|
|
Loading…
Reference in a new issue