Changeset daeaac in git for gfanlib/gfanlib_zfan.cpp


Ignore:
Timestamp:
Oct 29, 2018, 1:37:23 PM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
7d2091affbf4b4a1a382e5eb0a47f66c0f3c42f7
Parents:
f8266555777b8a5e937c45e7a1aa0d870df16b17b5f5decc18fe2b47fd388dbd9c10937f49fa2d7e
Message:
Merge branch 'spielwiese' of github.com:Singular/Sources into spielwiese
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gfanlib/gfanlib_zfan.cpp

    rb5f5dec rdaeaac  
    282282    if(coneCollection)
    283283    {
    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();
    287288    }
    288289    assert(0);
     
    295296    if(coneCollection)
    296297    {
    297       if(coneCollection->isEmpty())
    298         return -1;
    299       return coneCollection->getMaxDimension();
     298            if(coneCollection->isEmpty())
     299                    return -1;
     300            else
     301                    return coneCollection->getMaxDimension();
    300302    }
    301303    assert(0);
     
    307309      return complex->getLinDim();
    308310    if(coneCollection)
    309       return coneCollection->dimensionOfLinealitySpace();
     311    {
     312            if(coneCollection->isEmpty())
     313                    return getAmbientDimension();
     314            else
     315                    return coneCollection->dimensionOfLinealitySpace();
     316    }
    310317    assert(0);
    311318    return 0;
Note: See TracChangeset for help on using the changeset viewer.