Changeset 3305


Ignore:
Timestamp:
May 24, 2014 12:37:42 PM (6 years ago)
Author:
bradbell
Message:

forward_dir.cpp: remove another use of std::round.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test_more/forward_dir.cpp

    r3304 r3305  
    571571                y0  = f.Forward(0, x0);
    572572                ok &= y0.size() == m;
    573                 ok &= NearEqual(y0[0], std::round(x0[0]) + x0[0], eps, eps);
     573                ok &= NearEqual(y0[0], round_off(x0[0]) + x0[0], eps, eps);
    574574       
    575575                // first order Taylor coefficients
Note: See TracChangeset for help on using the changeset viewer.