We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 613175d commit 630359dCopy full SHA for 630359d
OptionParser.cpp
@@ -82,8 +82,8 @@ using std::to_string;
82
template<class T> string
83
format_int_like(T &val) {
84
return "[" +
85
- (val == numeric_limits<T>::max()) ? "infty" :
86
- ((val == -numeric_limits<T>::max()) ? "-infty" : to_string(val)) + "]";
+ ((val == numeric_limits<T>::max()) ? "infty" :
+ ((val == -numeric_limits<T>::max()) ? "-infty" : to_string(val))) + "]";
87
}
88
89
0 commit comments