Skip to content
Snippets Groups Projects
Commit c1051763 authored by Fabian Paus's avatar Fabian Paus
Browse files

Use std instead of boost

parent e6a9d5d5
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ namespace SimDynamics
_transform = worldPose; // com position
#ifdef _DEBUG
if (boost::math::isnan(_transform.getOrigin().x()) || boost::math::isnan(_transform.getOrigin().y()) || boost::math::isnan(_transform.getOrigin().z()))
if (std::isnan(_transform.getOrigin().x()) || std::isnan(_transform.getOrigin().y()) || std::isnan(_transform.getOrigin().z()))
{
VR_ERROR << "NAN transform!!!" << endl;
}
......@@ -143,7 +143,7 @@ namespace SimDynamics
float ja = float(bdr->getJointAngle(link.nodeJoint));
#ifdef _DEBUG
if (boost::math::isnan(ja))
if (std::isnan(ja))
{
VR_ERROR << "NAN !!!" << endl;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment