annotate src/of-quaternion-2-dev-fixes.patch @ 6354:9d1395334e68
mingw-w64: Handle negative zero input for cacosh (bug #49091).
* src/mingw-w64-complex-inverse-trig.patch: Handle negative zero input for
cacosh.
author |
Markus Mützel <markus.muetzel@gmx.de> |
date |
Fri, 05 Aug 2022 19:32:03 +0200 |
parents |
48b9473dd2ad |
children |
|
rev |
line source |
4918
|
1 diff -ur quaternion.orig/src/is_real_array.cc quaternion/src/is_real_array.cc |
|
2 --- quaternion.orig/src/is_real_array.cc 2019-01-02 13:53:40.766144030 -0500 |
|
3 +++ quaternion/src/is_real_array.cc 2019-01-02 13:54:35.459444478 -0500 |
|
4 @@ -46,8 +46,8 @@ |
|
5 { |
|
6 // args(i).ndims () should be always >= 2 |
|
7 if (args(i).ndims () < 2 |
|
8 - || ! ((args(i).is_numeric_type () && args(i).is_real_type ()) |
|
9 - || args(i).is_bool_type ())) |
|
10 + || ! ((args(i).isnumeric () && args(i).isreal ()) |
|
11 + || args(i).islogical ())) |
|
12 { |
|
13 retval = false; |
|
14 break; |