gentoo-ebuilds/sci-mathematics/gfan/files/gfan-0.6.2-gcc15.patch
Michael Orlitzky 453f7fa523
sci-mathematics/gfan: gcc-15 buildfix revision
Closes: https://bugs.gentoo.org/937329
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
2025-05-01 21:49:11 -04:00

22 lines
639 B
Diff

https://github.com/Singular/Singular/commit/d3f73432d73ac0dd041
diff --git a/src/gfanlib_matrix.h b/src/gfanlib_matrix.h
index 418fa4c..27818b2 100644
--- a/src/gfanlib_matrix.h
+++ b/src/gfanlib_matrix.h
@@ -115,6 +115,7 @@ public:
p[i][j]=s*(q[i][j]);
return p;
}
+ /*
friend Matrix operator*(const Matrix& a, const Matrix& b)
{
assert(a.width==b.height);
@@ -123,6 +124,7 @@ public:
ret[i]=a.vectormultiply(b.column(i));
return ret.transposed();
}
+ */
/* template<class T>
Matrix<T>(const Matrix<T>& c):v(c.size()){
for(int i=0;i<size();i++)v[i]=typ(c[i]);}