[SciPy-dev] problem compiling CVS version

tinu tinu at email.ch
Thu Apr 18 10:20:31 CDT 2002


Dear Scipythonistas (is this correct?)

I had problems compiling the recent CVS version, due to a small compiler
(gcc version 2.95.3) parsing problem. Removing the "\" helped.

(patch included)

Thanks for the great work!

Martin

-- 
Martin Lüthi                     VAW Glaciology, ETH Zürich, Switzerland
                                 mel: luthi at vaw.baug.ethz.ch

Index: zeros.h
===================================================================
RCS file: /home/cvsroot/world/scipy/optimize/Zeros/zeros.h,v
retrieving revision 1.3
diff -c -r1.3 zeros.h
*** zeros.h	2002/04/15 20:40:58	1.3
--- zeros.h	2002/04/18 15:36:42
***************
*** 14,21 ****
  } default_parameters;
  
  static double dminarg1,dminarg2;
! #define DMIN(a,b) (dminarg1=(a),dminarg2=(b),(dminarg1) < (dminarg2) ?\
!         (dminarg1) : (dminarg2))
  
  #define SIGN(a)   ((a) > 0.0 ? 1.0 : -1.0)
  #define ERROR(params,num,val) (params)->error_num=(num); return (val)
--- 14,20 ----
  } default_parameters;
  
  static double dminarg1,dminarg2;
! #define DMIN(a,b) (dminarg1=(a),dminarg2=(b),(dminarg1) < (dminarg2) ? (dminarg1) : (dminarg2))
  
  #define SIGN(a)   ((a) > 0.0 ? 1.0 : -1.0)
  #define ERROR(params,num,val) (params)->error_num=(num); return (val)




More information about the Scipy-dev mailing list