diff options
author | Deanna Hood <deanna.m.hood@gmail.com> | 2015-03-17 05:58:47 +1000 |
---|---|---|
committer | Deanna Hood <deanna.m.hood@gmail.com> | 2015-03-17 05:58:47 +1000 |
commit | fef4e071d70870e91aba68b0a34e53bb20f9303f (patch) | |
tree | 61f3736001c24de62d50a1fac5fc4a581b346f53 /doc/snippets/Cwise_isInf.cpp | |
parent | 46cf9cda32be99fcd658a926c14088e087d91b7e (diff) |
Rename isinf to isInf
Diffstat (limited to 'doc/snippets/Cwise_isInf.cpp')
-rw-r--r-- | doc/snippets/Cwise_isInf.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/snippets/Cwise_isInf.cpp b/doc/snippets/Cwise_isInf.cpp new file mode 100644 index 000000000..beb6746d0 --- /dev/null +++ b/doc/snippets/Cwise_isInf.cpp @@ -0,0 +1,5 @@ +Array3d v(1,2,3); +v(1) *= 0.0/0.0; +v(2) /= 0.0; +cout << v << endl << endl; +cout << isInf(v) << endl; |