Skip to content

Commit 5a5aa19

Browse files
authored
Merge pull request #29 from yangzhou-10/resteart_error
Empty iss for each loop
2 parents 64ecd86 + 708ae0f commit 5a5aa19

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

LUMA/src/GridObj_ops_io.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,7 @@ void GridObj::io_restart(eIOFlag IO_flag) {
524524
{
525525

526526
// Get line and put in buffer
527+
iss.clear();
527528
std::getline(file,line_in,'\n');
528529
iss.str(line_in);
529530
iss.seekg(0); // Reset buffer position to start of buffer

0 commit comments

Comments
 (0)