Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 434002 Details for
Bug 582780
sci-mathematics/gfan-0.5 does not compile with gcc-6.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible fix
gfan-0.5-gcc6.patch (text/plain), 2.02 KB, created by
Felix Janda
on 2016-05-11 19:41:23 UTC
(
hide
)
Description:
Possible fix
Filename:
MIME Type:
Creator:
Felix Janda
Created:
2016-05-11 19:41:23 UTC
Size:
2.02 KB
patch
obsolete
>--- a/gfan0.5/app_fiberpolytope.cpp >+++ b/gfan0.5/app_fiberpolytope.cpp >@@ -63,7 +63,7 @@ > > /* If the vector configuration B does not have full rank then > change coordinates. */ >- if(rank(B)!=B.getHeight()) >+ if(_rank(B)!=B.getHeight()) > { > FieldMatrix M=integerMatrixToFieldMatrix(B,Q); > M.reduce(false,true);//force integer operations - preserving volume >@@ -83,7 +83,7 @@ > log1 debug<<"Done computing restricting cone\n"; > > debug<<B.getRows(); >- debug<<int(rank(B)); >+ debug<<int(_rank(B)); > > Triangulation2 t(B); > log1 debug<<"Computing initial triangulation\n"; >@@ -143,7 +143,7 @@ > */ > /* If the vector configuration A does not have full rank then > change coordinates. */ >-/* if(rank(A)!=A.getHeight()) >+/* if(_rank(A)!=A.getHeight()) > { > FieldMatrix M=integerMatrixToFieldMatrix(A,Q); > M.reduce(false,true);//force integer operations - preserving volume >--- a/gfan0.5/app_secondaryfan.cpp >+++ b/gfan0.5/app_secondaryfan.cpp >@@ -307,7 +307,7 @@ > > if(scaleOption.getValue()) > { >- if(rank(A)!=A.getHeight()) >+ if(_rank(A)!=A.getHeight()) > { > cerr << "The vector configuration must have full rank in order to use the scale option.\n"; > assert(0); >@@ -342,7 +342,7 @@ > > /* If the vector configuration A does not have full rank then > change coordinates. */ >- if(rank(A)!=A.getHeight()) >+ if(_rank(A)!=A.getHeight()) > { > FieldMatrix M=integerMatrixToFieldMatrix(A,Q); > M.reduce(false,true);//force integer operations - preserving volume >--- a/gfan0.5/matrix.cpp >+++ b/gfan0.5/matrix.cpp >@@ -61,7 +61,7 @@ > > #include "linalg.h" > >-int rank(IntegerMatrix const &m) >+int _rank(IntegerMatrix const &m) > { > return integerMatrixToFieldMatrix(m,Q).rank(); > } >--- a/gfan0.5/matrix.h >+++ b/gfan0.5/matrix.h >@@ -147,6 +147,6 @@ > > FloatMatrix integerToFloatMatrix(IntegerMatrix const &m); > IntegerVector flattenMatrix(IntegerMatrix const &m); >-int rank(IntegerMatrix const &m); >+int _rank(IntegerMatrix const &m); > > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 582780
:
434000
| 434002 |
435886