Changeset 7ec0614 in git for Singular/subexpr.cc


Ignore:
Timestamp:
Oct 26, 2010, 12:06:40 PM (14 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
a53ae5000c439608b9dcf884b63d62b219e8fcc0
Parents:
f7449ff74c2f2331426674adbf6689f8bb8c3e8c
Message:
took out type 'fan'; now only type 'cone' is there when built with HAVE_FANS defined (by default, HAVE_FANS is undefined)


git-svn-id: file:///usr/local/Singular/svn/trunk@13569 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/subexpr.cc

    rf7449f r7ec0614  
    1414
    1515#include <kernel/mod2.h>
    16 #ifdef HAVE_FANS
    17 #include <sstream>
    18 #endif
    1916#include <kernel/intvec.h>
    2017#include <Singular/tok.h>
     
    4138#include <Singular/attrib.h>
    4239#include <Singular/subexpr.h>
    43 #include <Singular/Fan.h>
    4440#include <gfanlib/gfanlib.h>
    4541
     
    6965
    7066#ifdef HAVE_FANS
     67#include <sstream>
    7168std::string toString(gfan::ZMatrix const &m, char *tab=0)
    7269{
     
    234231#ifdef HAVE_FANS
    235232       case CONE_CMD:
    236        case FAN_CMD:
     233       //case FAN_CMD:
    237234          PrintNSpaces(spaces);
    238235          {
     
    577574      }
    578575#ifdef HAVE_FANS
    579     case FAN_CMD:
     576/*    case FAN_CMD:
    580577      {
    581578        Fan* fff = (Fan*)d;
    582579        Fan* ggg = new Fan(*fff);
    583580        return ggg;
    584       }
     581      }*/
    585582    case CONE_CMD:
    586583      {
     
    877874          return s;
    878875#ifdef HAVE_FANS
    879         case FAN_CMD:
     876/*        case FAN_CMD:
    880877        {
    881878          Fan* fff = (Fan*)d;
     
    886883          omFree(s);
    887884          return ns;
    888         }
     885        }*/
    889886        case CONE_CMD:
    890887        {
     
    894891          sprintf(ns, "%s", s.c_str());
    895892          omCheckAddr(ns);
    896           omFree(s);
    897893          return ns;
    898894        }
Note: See TracChangeset for help on using the changeset viewer.