Skip to content

Commit

Permalink
python: fix import for pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarpent committed Sep 16, 2021
1 parent d516479 commit 1c1557e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/fcl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ void exposeMeshLoader ()

BOOST_PYTHON_MODULE(hppfcl)
{
boost::python::import("warnings");
namespace bp = boost::python;

PyImport_ImportModule("warnings");

exposeVersion();
exposeMaths();
exposeCollisionGeometries();
Expand Down

0 comments on commit 1c1557e

Please sign in to comment.