Changeset 2057 in Sophya


Ignore:
Timestamp:
Jun 17, 2002, 3:36:09 PM (23 years ago)
Author:
cmv
Message:

on enleve utilgeom.h cvstat cmv 17/05/02

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pidrawer.cc

    r2003 r2057  
    77#include <strings.h>
    88#include <iostream.h>
    9 // #include <typeinfo>
    10 #include "utilgeom.h"
    119#include "pidrawer.h"
    1210#include "pidrwtools.h"
    1311
    1412#include "ucckprot.h"
     13
     14#define dble_SWAP(__a,__b) {double __tmp=__a; __a=__b; __b=__tmp;}
    1515
    1616//++
     
    697697
    698698 double axmin=fabs(xmin), axmax=fabs(xmax);
    699  if(axmin>axmax) swap(axmin,axmax);
     699 if(axmin>axmax) dble_SWAP(axmin,axmax)
     700
    700701 double l10amax = log10(axmax), l10xstep = log10(xstep);
    701702 int il10amax = int(floor(l10amax));
Note: See TracChangeset for help on using the changeset viewer.