Skip to content

Commit

Permalink
Avoid using deprecated API
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Jan 13, 2017
1 parent b17f838 commit 7656999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unittests/unit/test_SkelParser.cpp
Expand Up @@ -479,7 +479,7 @@ TEST(SkelParser, Shapes)
shape = skel->getBodyNode(0)->getShapeNode(0)->getShape();
EXPECT_TRUE(shape->is<EllipsoidShape>());
auto ellipsoidShape = std::static_pointer_cast<EllipsoidShape>(shape);
EXPECT_EQ(ellipsoidShape->getSize(), Eigen::Vector3d(0.05, 0.10, 0.15));
EXPECT_EQ(ellipsoidShape->getDiameters(), Eigen::Vector3d(0.05, 0.10, 0.15));

// Cylinder
skel = world->getSkeleton("cylinder skeleton");
Expand Down

0 comments on commit 7656999

Please sign in to comment.