summaryrefslogtreecommitdiff
path: root/math/octave-forge-quaternion/files/patch-is__real__array.cc
blob: e39f8fa46d0a236403ac345c1c34c4b6907f51a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- is_real_array.cc.orig	2021-02-21 22:03:11 UTC
+++ is_real_array.cc
@@ -46,8 +46,8 @@ Avoid nasty stuff like @code{true = isreal (\"a\")}.\n
         {
             // args(i).ndims () should be always >= 2
             if (args(i).ndims () < 2
-                || ! ((args(i).is_numeric_type () && args(i).is_real_type ())
-                      || args(i).is_bool_type ()))
+                || ! ((args(i).isnumeric () && args(i).isreal ())
+                      || args(i).islogical ()))
             {
                 retval = false;
                 break;