Changeset 882 in Sophya for trunk/SophyaLib/TArray/matharr.cc


Ignore:
Timestamp:
Apr 11, 2000, 3:50:03 PM (25 years ago)
Author:
ansari
Message:

Pb compil matharr.h sur g++/linux , Reza 11/4/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/TArray/matharr.cc

    r813 r882  
    33
    44#include "machdefs.h"
    5 #include <stdlib.h>
     5#include <math.h>
    66#include "matharr.h"
    77
     
    116116  mean /= dsz;
    117117  sig = sig/dsz - mean*mean;
     118#if !defined(OS_LINUX) && !defined (__KCC__) 
    118119  if (sig >= 0.) sig = sqrt(sig);
     120#else
     121  // va comprendre pourquoi g++ (sur Linux) veut ca pour faire la generation
     122  // de template !!!!
     123  if (sig >= 0.) sig = _Sqrt_(sig);
     124#endif
    119125  return(mean);
    120126}
Note: See TracChangeset for help on using the changeset viewer.