Changeset 10092


Ignore:
Timestamp:
Jan 6, 2011, 5:04:23 PM (10 years ago)
Author:
tbretz
Message:
Fixed a mistake in the log-output of MSimRandomPhotons.
Location:
trunk/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/Changelog

    r10091 r10092  
    5252     - updated comments
    5353
     54   * msimcamera/MSimRandomPhotons.cc:
     55     - fixed a mistake in the log-output
  • trunk/Mars/msimcamera/MSimRandomPhotons.cc

    r9991 r10092  
    238238    }
    239239
    240     // If the simulated wavelenth range exists and is smaller reduce the
     240    // If the simulated wavelength range exists and is smaller, reduce the
    241241    // range to it. Later it is checked that at both edges the transmission
    242242    // is 0. This must be true in both cases: The simulated wavelength range
     
    338338    {
    339339        *fLog << warn << "WARNING - Total transmission efficiency at ";
    340         *fLog << min << "nm is not zero, but " << nsb.GetSpline()->Eval(min) << "... abort." << endl;
     340        *fLog << min << "nm is not zero, but " << eff.GetSpline()->Eval(min) << "... abort." << endl;
    341341    }
    342342    if (eff.GetSpline()->Eval(max)>1e-5)
    343343    {
    344344        *fLog << warn << "WARNING - Total transmission efficiency at ";
    345         *fLog << max << "nm is not zero, but " << nsb.GetSpline()->Eval(max) << "... abort." << endl;
     345        *fLog << max << "nm is not zero, but " << eff.GetSpline()->Eval(max) << "... abort." << endl;
    346346    }
    347347
Note: See TracChangeset for help on using the changeset viewer.