Mercurial > mxe-octave
view src/of-quaternion-2-dev-fixes.patch @ 5500:512e69a36d09
Use SSE2 instruction set for i686-w64 target (bug #58807).
* src/build-gcc.mk: Set specs to use SSE/SSE2 instructions by default for
i686-w64-mingw32 target (Windows 32bit).
* src/native-gcc.mk: Set specs to use SSE/SSE2 instructions by default for
i686-w64-mingw32 target (Windows 32bit).
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 21 Jul 2020 20:27:53 +0200 |
parents | 48b9473dd2ad |
children |
line wrap: on
line source
diff -ur quaternion.orig/src/is_real_array.cc quaternion/src/is_real_array.cc --- quaternion.orig/src/is_real_array.cc 2019-01-02 13:53:40.766144030 -0500 +++ quaternion/src/is_real_array.cc 2019-01-02 13:54:35.459444478 -0500 @@ -46,8 +46,8 @@ { // 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;