Ignore:
Timestamp:
10/21/09 09:52:52 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/videodev/FilterLed.cc

    r9439 r9515  
    22
    33#include <memory.h>   // memset
     4#include <math.h>
    45#include <iostream> // cout
     6
     7#include <TMath.h>
    58
    69#include "Led.h"
     
    406409   
    407410    // 254 because b<=max and not b<max
    408     const double sdev = TMath::Sqrt(sq-sum*sum);
     411    const double sdev = sqrt(sq-sum*sum);
    409412    const byte   max  = sum+fCut*sdev>254 ? 254 : (byte)(sum+fCut*sdev);
    410413
Note: See TracChangeset for help on using the changeset viewer.