Changeset daeaac in git
- Timestamp:
- Oct 29, 2018, 1:37:23 PM (5 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 7d2091affbf4b4a1a382e5eb0a47f66c0f3c42f7
- Parents:
- f8266555777b8a5e937c45e7a1aa0d870df16b17b5f5decc18fe2b47fd388dbd9c10937f49fa2d7e
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/NEWS.texi
rb5f5dec rdaeaac 46 46 @item extended @code{coef} to ideals (@nref{coef}). 47 47 @item error and signal handling in @code{libSingular} (@nref{libSingular}). 48 @item updated gfanlib to version 0.6.2 48 49 @end itemize 49 50 -
gfanlib/Makefile.am
rf82665 rdaeaac 17 17 SOURCES = 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 18 18 libgfan_la_SOURCES = $(SOURCES) 19 libgfan_la_LDFLAGS = $(SINGULAR_LDFLAGS) $(CDDGMPLDFLAGS) 19 libgfan_la_LDFLAGS = $(SINGULAR_LDFLAGS) $(CDDGMPLDFLAGS) -release ${PACKAGE_VERSION} 20 20 21 21 libgfan_includedir =$(includedir)/gfanlib -
gfanlib/gfanlib_circuittableint.h
rb5f5dec rdaeaac 41 41 v=a.v; 42 42 shift=0; 43 uint32_t t=v; 43 int32_t t=v; 44 // uint32_t t=v; 44 45 assert(t); 45 46 while(!(t&1)){t>>= 1;shift++;} … … 111 112 } 112 113 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;} 113 115 Double extend()const{Double ret;ret.v=v;return ret;} 114 116 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 27 27 { 28 28 public: 29 bool aborting; // Added by Anders29 bool aborting; // Added by Anders 30 30 void abort(){aborting=true;} // Added by Anders 31 Traverser():aborting(false){} // Added by Anders31 Traverser():aborting(false){} // Added by Anders 32 32 // Virtual destructor 33 33 virtual ~Traverser( void ) {}; -
gfanlib/gfanlib_q.h
rb5f5dec rdaeaac 12 12 #include <ostream> 13 13 #include <assert.h> 14 #include <stddef.h>15 14 #include "gmp.h" 16 15 -
gfanlib/gfanlib_z.h
rb5f5dec rdaeaac 14 14 #define OLD 1 15 15 #if OLD 16 #include <stddef.h>17 16 #include "gmp.h" 18 17 -
gfanlib/gfanlib_zcone.cpp
rb5f5dec rdaeaac 37 37 void initializeCddlibIfRequired() // calling this frequently will cause memory leaks because deinitialisation is not possible with old versions of cddlib. 38 38 { 39 40 39 if (dd_statStartTime==0) 40 { 41 41 dd_set_global_constants(); 42 42 } -
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.