Changeset 76:e6f537899176 in rrlib_geometry


Ignore:
Timestamp:
14.07.2016 11:24:35 (3 years ago)
Author:
Max Reichardt <max.reichardt@…>
Branch:
14.08
Children:
77:176a7425e823, 78:fab6cb47578c
Phase:
public
Message:

Fixes compile error on e.g. Ubuntu 16.04 platforms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • curves/tBezierCurve.hpp

    r65 r76  
    254254    intersection_points.push_back(intersection_point); 
    255255    const tParameter baseline_parameter((intersection_points.back() - this->control_points[0]).Length() / (this->control_points[Tdegree] - this->control_points[0]).Length()); 
    256     assert(!isnan(baseline_parameter)); 
     256    assert(!std::isnan(baseline_parameter)); 
    257257    intersection_parameters.push_back(min_parameter + (max_parameter - min_parameter) * baseline_parameter); 
    258258    return true; 
     
    292292    intersection_points.push_back(intersection_point); 
    293293    const tParameter baseline_parameter((intersection_points.back() - this->control_points[0]).Length() / (this->control_points[Tdegree] - this->control_points[0]).Length()); 
    294     assert(!isnan(baseline_parameter)); 
     294    assert(!std::isnan(baseline_parameter)); 
    295295    intersection_parameters.push_back(min_parameter + (max_parameter - min_parameter) * baseline_parameter); 
    296296    return true; 
Note: See TracChangeset for help on using the changeset viewer.