Skip to content

Commit a029727

Browse files
committed
Repair a silly typo that slipped in
1 parent 0c973c9 commit a029727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/math/policies/error_handling.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ inline std::string prec_format(const T& val)
9797

9898
std::stringstream strm { };
9999

100-
if(prec_type::value != prec_type { 0 })
100+
if(prec_type::value)
101101
{
102102
const std::streamsize prec { static_cast<std::streamsize>(2UL + (prec_type::value * 30103UL) / 100000UL) };
103103

0 commit comments

Comments
 (0)