Changeset 1082b9 in git for gfanlib/gfanlib_zcone.cpp


Ignore:
Timestamp:
Jan 19, 2017, 2:57:38 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '98550b669234b32be762076c32b3be2c35188ac4')
Children:
b08fbfc7220b87075c808c15b35900abd6636899
Parents:
0091f520ce1d05c31263015fbc74956dd9b73454
Message:
use of gfan::initializeCddlibIfRequired in polymake_wrapper
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gfanlib/gfanlib_zcone.cpp

    r0091f5 r1082b9  
    1313
    1414#include <config.h>
     15extern "C"
     16{
    1517#ifdef HAVE_CDD_SETOPER_H
    1618#include <cdd/setoper.h>
     
    2527#endif //HAVE_CDDLIB_SETOPER_H
    2628#endif //HAVE_CDD_SETOPER_H
    27 
     29}
     30extern "C" time_t dd_statStartTime; /*cddlib*/
    2831
    2932namespace gfan{
     
    3437        void initializeCddlibIfRequired() // calling this frequently will cause memory leaks because deinitialisation is not possible with old versions of cddlib.
    3538        {
     39          if (dd_statStartTime==0)
     40          {
    3641                dd_set_global_constants();
     42                printf("dd_set_global_constansts\n");
     43          }
    3744        }
    3845        void deinitializeCddlibIfRequired()
    3946        {
    4047        #ifdef HAVE_DD_FREE_GLOBAL_CONSTANTS
    41                 dd_free_global_constants();
     48        //        dd_free_global_constants();
    4249        #endif
    4350        }
Note: See TracChangeset for help on using the changeset viewer.