mirror of
https://github.com/boostorg/math.git
synced 2026-01-28 07:22:12 +00:00
Fixed: parsing negative value.
modified: libs/math/tools/bessel_derivative_data_from_bessel_ipps.cpp
This commit is contained in:
@@ -94,7 +94,7 @@ std::string parseValue(std::string::iterator& iter)
|
||||
|
||||
auto value = std::string{};
|
||||
|
||||
while (!isdigit(*iter))
|
||||
while (!isdigit(*iter) && *iter != '-')
|
||||
++iter;
|
||||
while (isdigit(*iter) || *iter == '.' || *iter == 'e' || *iter == '-' || *iter == '+')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user