aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/doc/examples/PolynomialSolver1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unsupported/doc/examples/PolynomialSolver1.cpp')
-rw-r--r--unsupported/doc/examples/PolynomialSolver1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/doc/examples/PolynomialSolver1.cpp b/unsupported/doc/examples/PolynomialSolver1.cpp
index 71e6b825f..cd777a4e2 100644
--- a/unsupported/doc/examples/PolynomialSolver1.cpp
+++ b/unsupported/doc/examples/PolynomialSolver1.cpp
@@ -49,5 +49,5 @@ int main()
cout.precision(10);
cout << "The last root in float then in double: " << psolvef.roots()[5] << "\t" << psolve6d.roots()[5] << endl;
std::complex<float> castedRoot( psolve6d.roots()[5].real(), psolve6d.roots()[5].imag() );
- cout << "Norm of the difference: " << internal::abs( psolvef.roots()[5] - castedRoot ) << endl;
+ cout << "Norm of the difference: " << std::abs( psolvef.roots()[5] - castedRoot ) << endl;
}