Ignore:
Timestamp:
Oct 14, 2014, 10:31:31 PM (9 years ago)
Author:
Yue Ren <ren@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
97351e66f70a4390d6f911ee38436e695b8ec551
Parents:
5a60835ee02dcb3d57c9e469c5d50e25ec5d29db
git-author:
Yue Ren <ren@mathematik.uni-kl.de>2014-10-14 23:31:31+03:00
git-committer:
Yue Ren <ren@mathematik.uni-kl.de>2015-02-06 13:47:01+01:00
Message:
chg: new gfanlib version, fixed multiplicities of cones inside fans
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gfanlib/gfanlib_polymakefile.cpp

    r5a6083 r5ff68b  
    99
    1010#include <assert.h>
     11#include <stdio.h>
    1112#include <sstream>
    1213#include <istream>
    13 #include <stdio.h>
    1414
    1515using namespace std;
     
    5353  list<int> ret;
    5454  int c=s.peek();
    55   while(((c>='0') && (c<='9')) || (c==' '))
     55  while(((c>='0') && (c<='9'))|| (c==' '))
    5656    {
    5757      //      fprintf(Stderr,"?\n");
     
    171171  else
    172172    {
    173       // fprintf(f,"_application %s\n",application.c_str());
    174       // fprintf(f,"_version 2.2\n");
    175       // fprintf(f,"_type %s\n",type.c_str());
     173      fprintf(f,"_application %s\n",application.c_str());
     174      fprintf(f,"_version 2.2\n");
     175      fprintf(f,"_type %s\n",type.c_str());
    176176
    177177      for(list<PolymakeProperty>::const_iterator i=properties.begin();i!=properties.end();i++)
     
    201201  else
    202202    {
    203       // file << "_application " << application << endl;
    204       // file << "_version 2.2\n";
    205       // file << "_type " << type << endl;
     203      file << "_application " << application << endl;
     204      file << "_version 2.2\n";
     205      file << "_type " << type << endl;
    206206
    207207      for(list<PolymakeProperty>::const_iterator i=properties.begin();i!=properties.end();i++)
Note: See TracChangeset for help on using the changeset viewer.