Changeset 19348


Ignore:
Timestamp:
11/07/18 10:18:08 (6 years ago)
Author:
tbretz
Message:
Fixed a  problem with an old gcc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/msimcamera/MSimCamera.cc

    r18957 r19348  
    159159        for(size_t col_index=0; col_index<row.size(); col_index++){
    160160            const double specific_delay = row.at(col_index);
    161             if( isnan(specific_delay) || isinf(specific_delay) ){
     161            if (!TMath::Finite(specific_delay)) {
    162162                *fLog << err << "In Source: "<< __FILE__ <<" in line: ";
    163163                *fLog << __LINE__;
Note: See TracChangeset for help on using the changeset viewer.