mirror of
https://github.com/boostorg/multiprecision.git
synced 2026-02-20 14:52:24 +00:00
Fix exception message
This commit is contained in:
committed by
jzmaddock
parent
f866903e9d
commit
e6fd333f3c
@@ -134,7 +134,7 @@ struct rational_adaptor
|
||||
v2 = 1;
|
||||
if(*s)
|
||||
{
|
||||
BOOST_THROW_EXCEPTION(std::runtime_error(std::string("Could parse the string \"") + p + std::string("\" as a valid rational number.")));
|
||||
BOOST_THROW_EXCEPTION(std::runtime_error(std::string("Could not parse the string \"") + p + std::string("\" as a valid rational number.")));
|
||||
}
|
||||
data().assign(v1, v2);
|
||||
return *this;
|
||||
|
||||
Reference in New Issue
Block a user