commit | e5b490b6542c444aa8e263e50c50e09a4201c99f | [log] [tgz] |
---|---|---|
author | Gael Guennebaud <g.gael@free.fr> | Mon Jun 15 15:09:25 2015 +0200 |
committer | Gael Guennebaud <g.gael@free.fr> | Mon Jun 15 15:09:25 2015 +0200 |
tree | 1aed8f83b34c042dcaf11018bfec93c02c4dddc1 | |
parent | a546be56e0809cca7b7c0cbe735e887c54038566 [diff] |
Fix isfinite/isinf/isnan code snippets
diff --git a/doc/snippets/Cwise_boolean_not.cpp b/doc/snippets/Cwise_boolean_not.cpp index 8b8e6fc..40009f1 100644 --- a/doc/snippets/Cwise_boolean_not.cpp +++ b/doc/snippets/Cwise_boolean_not.cpp
@@ -2,4 +2,4 @@ v(1) *= 0.0/0.0; v(2) /= 0.0; cout << v << endl << endl; -cout << !isFinite(v) << endl; +cout << !isfinite(v) << endl;
diff --git a/doc/snippets/Cwise_isFinite.cpp b/doc/snippets/Cwise_isFinite.cpp index 7e59456..1da55fd 100644 --- a/doc/snippets/Cwise_isFinite.cpp +++ b/doc/snippets/Cwise_isFinite.cpp
@@ -2,4 +2,4 @@ v(1) *= 0.0/0.0; v(2) /= 0.0; cout << v << endl << endl; -cout << isFinite(v) << endl; +cout << isfinite(v) << endl;
diff --git a/doc/snippets/Cwise_isInf.cpp b/doc/snippets/Cwise_isInf.cpp index beb6746..be79308 100644 --- a/doc/snippets/Cwise_isInf.cpp +++ b/doc/snippets/Cwise_isInf.cpp
@@ -2,4 +2,4 @@ v(1) *= 0.0/0.0; v(2) /= 0.0; cout << v << endl << endl; -cout << isInf(v) << endl; +cout << isinf(v) << endl;
diff --git a/doc/snippets/Cwise_isNaN.cpp b/doc/snippets/Cwise_isNaN.cpp index cc1e7fe..7b2a930 100644 --- a/doc/snippets/Cwise_isNaN.cpp +++ b/doc/snippets/Cwise_isNaN.cpp
@@ -2,4 +2,4 @@ v(1) *= 0.0/0.0; v(2) /= 0.0; cout << v << endl << endl; -cout << isNaN(v) << endl; +cout << isnan(v) << endl;