From 600b08a7f66135eecec6cf602c330026a7329a3b Mon Sep 17 00:00:00 2001 From: jeggermo Date: Mon, 4 Feb 2002 14:28:00 +0000 Subject: [PATCH] the gpsymreg code has been slightly altered to allow compilation using the Intel C++ Compiler for Linux. Other compilers should not be affected. A slightly different makefile is needed --- eo/app/gpsymreg/node.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/eo/app/gpsymreg/node.h b/eo/app/gpsymreg/node.h index 362aae40..85aa4479 100644 --- a/eo/app/gpsymreg/node.h +++ b/eo/app/gpsymreg/node.h @@ -47,14 +47,13 @@ using namespace std; typedef enum {Variable, UFunction, BFunction, BOperator, Const} Type; +typedef double (*BinaryFunction)(const double,const double); +typedef double (*UnaryFunction)(const double); struct Operation { public: - - typedef double (*BinaryFunction)(const double,const double); - typedef double (*UnaryFunction)(const double); typedef unsigned int VariableID; typedef string Label;