Skip to content

Commit

Permalink
Merge pull request #3998 from gateway240/nan-log-level
Browse files Browse the repository at this point in the history
Decrease log level for NaN parsing
  • Loading branch information
nickbianco authored Jan 28, 2025
2 parents 5a71c60 + 99f5a0b commit bcbfa95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenSim/Common/IO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ stod(const std::string& __str, std::size_t* __idx)
iss >> result;
if (iss.fail()) {
result = std::numeric_limits<double>::quiet_NaN();
log_warn("Encountered non-numeric string value: {} ; parsed value:{}",__str, result);
log_debug("Encountered non-numeric string value: {} ; parsed value:{}",__str, result);
}
return result;
}
Expand Down

0 comments on commit bcbfa95

Please sign in to comment.