annotate src/of-quaternion-2-dev-fixes.patch @ 5893:53a6c7df43f8

Mesa 3D: Update to version 21.1.8. * src/mesa.mk: Update version and checksum. * src/mesa-2-uninitialized.patch: Remove file. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 16 Sep 2021 22:37:45 +0200
parents 48b9473dd2ad
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4918
48b9473dd2ad of-quaternion: add dev 6.0 fixes
John Donoghue
parents:
diff changeset
1 diff -ur quaternion.orig/src/is_real_array.cc quaternion/src/is_real_array.cc
48b9473dd2ad of-quaternion: add dev 6.0 fixes
John Donoghue
parents:
diff changeset
2 --- quaternion.orig/src/is_real_array.cc 2019-01-02 13:53:40.766144030 -0500
48b9473dd2ad of-quaternion: add dev 6.0 fixes
John Donoghue
parents:
diff changeset
3 +++ quaternion/src/is_real_array.cc 2019-01-02 13:54:35.459444478 -0500
48b9473dd2ad of-quaternion: add dev 6.0 fixes
John Donoghue
parents:
diff changeset
4 @@ -46,8 +46,8 @@
48b9473dd2ad of-quaternion: add dev 6.0 fixes
John Donoghue
parents:
diff changeset
5 {
48b9473dd2ad of-quaternion: add dev 6.0 fixes
John Donoghue
parents:
diff changeset
6 // args(i).ndims () should be always >= 2
48b9473dd2ad of-quaternion: add dev 6.0 fixes
John Donoghue
parents:
diff changeset
7 if (args(i).ndims () < 2
48b9473dd2ad of-quaternion: add dev 6.0 fixes
John Donoghue
parents:
diff changeset
8 - || ! ((args(i).is_numeric_type () && args(i).is_real_type ())
48b9473dd2ad of-quaternion: add dev 6.0 fixes
John Donoghue
parents:
diff changeset
9 - || args(i).is_bool_type ()))
48b9473dd2ad of-quaternion: add dev 6.0 fixes
John Donoghue
parents:
diff changeset
10 + || ! ((args(i).isnumeric () && args(i).isreal ())
48b9473dd2ad of-quaternion: add dev 6.0 fixes
John Donoghue
parents:
diff changeset
11 + || args(i).islogical ()))
48b9473dd2ad of-quaternion: add dev 6.0 fixes
John Donoghue
parents:
diff changeset
12 {
48b9473dd2ad of-quaternion: add dev 6.0 fixes
John Donoghue
parents:
diff changeset
13 retval = false;
48b9473dd2ad of-quaternion: add dev 6.0 fixes
John Donoghue
parents:
diff changeset
14 break;