Changeset daeaac in git for gfanlib/gfanlib_zfan.cpp
- Timestamp:
- Oct 29, 2018, 1:37:23 PM (6 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- 7d2091affbf4b4a1a382e5eb0a47f66c0f3c42f7
- Parents:
- f8266555777b8a5e937c45e7a1aa0d870df16b17b5f5decc18fe2b47fd388dbd9c10937f49fa2d7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gfanlib/gfanlib_zfan.cpp
rb5f5dec rdaeaac 282 282 if(coneCollection) 283 283 { 284 if(coneCollection->isEmpty()) 285 return -1; 286 return coneCollection->getAmbientDimension()-coneCollection->getMaxDimension(); 284 if(coneCollection->isEmpty()) 285 return -1; 286 else 287 return coneCollection->getAmbientDimension()-coneCollection->getMaxDimension(); 287 288 } 288 289 assert(0); … … 295 296 if(coneCollection) 296 297 { 297 if(coneCollection->isEmpty()) 298 return -1; 299 return coneCollection->getMaxDimension(); 298 if(coneCollection->isEmpty()) 299 return -1; 300 else 301 return coneCollection->getMaxDimension(); 300 302 } 301 303 assert(0); … … 307 309 return complex->getLinDim(); 308 310 if(coneCollection) 309 return coneCollection->dimensionOfLinealitySpace(); 311 { 312 if(coneCollection->isEmpty()) 313 return getAmbientDimension(); 314 else 315 return coneCollection->dimensionOfLinealitySpace(); 316 } 310 317 assert(0); 311 318 return 0;
Note: See TracChangeset
for help on using the changeset viewer.