Skip to content

Commit

Permalink
Fix wrong type in command line parsing helper
Browse files Browse the repository at this point in the history
  • Loading branch information
msimberg committed Sep 10, 2024
1 parent a3d6493 commit dd78a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ struct parseFromString<SizeType> {

template <>
struct parseFromString<double> {
static std::optional<SizeType> call(const std::string& var) {
static std::optional<double> call(const std::string& var) {
return std::stod(var);
}
};
Expand Down

0 comments on commit dd78a8f

Please sign in to comment.