forked from lijiext/lammps
correctly read entire vector
This commit is contained in:
parent
62a501ebda
commit
88f89c8f14
|
@ -317,8 +317,6 @@ void TestConfigReader::global_vector(const yaml_event_t &event)
|
|||
data >> num;
|
||||
for (std::size_t i = 0; i < num; ++i) {
|
||||
data >> value;
|
||||
if (data.eof()) break;
|
||||
config.global_vector.push_back(value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue