ports/math/octave-forge-quaternion/files/patch-is__real__array.cc
Stephen Montgomery-Smith 6473aac25b - Update math/octave to 6.2.0.
- Bump portrevision of dependent ports.
- Add patches to dependent ports math/octave-forge-* if I can figure them out.
- Mark broken dependent ports I couldn't figure out.
2021-02-21 22:41:34 +00:00

13 lines
567 B
C++

--- 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;