Changeset daeaac in git


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

Legend:

Unmodified
Added
Removed
  • doc/NEWS.texi

    rb5f5dec rdaeaac  
    4646@item extended @code{coef} to ideals (@nref{coef}).
    4747@item error and signal handling in @code{libSingular} (@nref{libSingular}).
     48@item updated gfanlib to version 0.6.2
    4849@end itemize
    4950
  • gfanlib/Makefile.am

    rf82665 rdaeaac  
    1717SOURCES = gfanlib_circuittableint.cpp gfanlib_mixedvolume.cpp gfanlib_paralleltraverser.cpp gfanlib_polyhedralfan.cpp gfanlib_polymakefile.cpp gfanlib_symmetriccomplex.cpp gfanlib_symmetry.cpp gfanlib_traversal.cpp gfanlib_zcone.cpp gfanlib_zfan.cpp
    1818libgfan_la_SOURCES = $(SOURCES)
    19 libgfan_la_LDFLAGS = $(SINGULAR_LDFLAGS) $(CDDGMPLDFLAGS)
     19libgfan_la_LDFLAGS = $(SINGULAR_LDFLAGS) $(CDDGMPLDFLAGS) -release ${PACKAGE_VERSION}
    2020
    2121libgfan_includedir =$(includedir)/gfanlib
  • gfanlib/gfanlib_circuittableint.h

    rb5f5dec rdaeaac  
    4141                        v=a.v;
    4242                        shift=0;
    43                         uint32_t t=v;
     43                        int32_t t=v;
     44//                        uint32_t t=v;
    4445                        assert(t);
    4546                        while(!(t&1)){t>>=        1;shift++;}
     
    111112        }
    112113        std::string toString()const{std::stringstream s;s<<v;return s.str();}
     114        friend std::ostream &operator<<(std::ostream &f, CircuitTableInt32 const &a){f<<(int)a.v;return f;}
    113115        Double extend()const{Double ret;ret.v=v;return ret;}
    114116        CircuitTableInt32 &maddWithOverflowChecking(CircuitTableInt32 const &a, CircuitTableInt32 const&b){Double t=this->extend();t+=extendedMultiplication(a,b);*this=t.castToSingle();return *this;}
  • gfanlib/gfanlib_paralleltraverser.h

    rb5f5dec rdaeaac  
    2727{
    2828public:
    29         bool aborting;                      // Added by Anders
     29        bool aborting;                                         // Added by Anders
    3030        void abort(){aborting=true;}        // Added by Anders
    31         Traverser():aborting(false){}       // Added by Anders
     31        Traverser():aborting(false){}        // Added by Anders
    3232  // Virtual destructor
    3333  virtual ~Traverser( void ) {};
  • gfanlib/gfanlib_q.h

    rb5f5dec rdaeaac  
    1212#include <ostream>
    1313#include <assert.h>
    14 #include <stddef.h>
    1514#include "gmp.h"
    1615
  • gfanlib/gfanlib_z.h

    rb5f5dec rdaeaac  
    1414#define OLD 1
    1515#if OLD
    16 #include <stddef.h>
    1716#include "gmp.h"
    1817
  • gfanlib/gfanlib_zcone.cpp

    rb5f5dec rdaeaac  
    3737        void initializeCddlibIfRequired() // calling this frequently will cause memory leaks because deinitialisation is not possible with old versions of cddlib.
    3838        {
    39           if (dd_statStartTime==0)
    40           {
     39          if (dd_statStartTime==0)
     40          {
    4141                dd_set_global_constants();
    4242          }
  • 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.