denovogear: fixed comparison error (#15638)
This commit is contained in:
parent
953bd04cb3
commit
0ca5ad237a
@ -0,0 +1,11 @@
|
|||||||
|
--- spack-src/src/contrib/newmat/newmat6.cpp.org 2020-03-19 14:06:13.679032667 +0900
|
||||||
|
+++ spack-src/src/contrib/newmat/newmat6.cpp 2020-03-19 14:07:34.267492838 +0900
|
||||||
|
@@ -428,7 +428,7 @@
|
||||||
|
{
|
||||||
|
if (&gm == this) { REPORT tag_val = -1; return; }
|
||||||
|
REPORT
|
||||||
|
- if (indx > 0) { delete [] indx; indx = 0; }
|
||||||
|
+ if (indx != NULL) { delete [] indx; indx = 0; }
|
||||||
|
((CroutMatrix&)gm).get_aux(*this);
|
||||||
|
Eq(gm);
|
||||||
|
}
|
@ -25,3 +25,5 @@ class Denovogear(CMakePackage):
|
|||||||
depends_on('zlib', type=('link'))
|
depends_on('zlib', type=('link'))
|
||||||
|
|
||||||
patch('stream-open.patch', when='@:1.1.1')
|
patch('stream-open.patch', when='@:1.1.1')
|
||||||
|
# fix: ordered comparison between pointer and zero.
|
||||||
|
patch('newmat6.cpp.patch')
|
||||||
|
Loading…
Reference in New Issue
Block a user