Skip to content

Commit

Permalink
Fix: array index out of range
Browse files Browse the repository at this point in the history
  • Loading branch information
caic99 committed Mar 3, 2024
1 parent cb2939e commit df1567e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unidock/src/main/simulation_container.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ struct simulation_container {
} else {
std::ifstream ifs(path);
std::string line;
double vals[3];
double vals[6];
int id = 0;
while (std::getline(ifs, line)) {
std::string trimmed(trim_eol(line));
Expand Down

0 comments on commit df1567e

Please sign in to comment.