Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
gfan
gfan-multiplicities.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gfan-multiplicities.patch of Package gfan
--- src/gfanlib_zfan.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: gfan0.7/src/gfanlib_zfan.cpp =================================================================== --- gfan0.7.orig/src/gfanlib_zfan.cpp +++ gfan0.7/src/gfanlib_zfan.cpp @@ -37,7 +37,9 @@ namespace gfan { IntVector indices=getConeIndices(dimension,index,orbit,maximal); ZCone ret=this->complex->makeZCone(indices); - if(maximal)ret.setMultiplicity(((orbit)?multiplicitiesOrbits:multiplicities)[dimension][index]); + const std::vector<std::vector<Integer> >&mult = orbit ? multiplicitiesOrbits : multiplicities; + if(maximal && mult.size() > dimension && mult[dimension].size() > index) + ret.setMultiplicity(mult[dimension][index]); return ret; } IntVector ZFan::getConeIndices(int dimension, int index, bool orbit, bool maximal)const
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor