@@ -57,7 +57,8 @@ void define_barrier_potential(py::module_& m)
57
57
" hessian" ,
58
58
py::overload_cast<
59
59
const Collisions&, const CollisionMesh&, const Eigen::MatrixXd&,
60
- const ipc::PSDProjectionMethod>(&BarrierPotential::Potential::hessian, py::const_),
60
+ const PSDProjectionMethod>(
61
+ &BarrierPotential::Potential::hessian, py::const_),
61
62
R"ipc_Qu8mg5v7(
62
63
Compute the hessian of the barrier potential.
63
64
@@ -71,7 +72,7 @@ void define_barrier_potential(py::module_& m)
71
72
The hessian of all barrier potentials (not scaled by the barrier stiffness). This will have a size of |vertices|x|vertices|.
72
73
)ipc_Qu8mg5v7" ,
73
74
py::arg (" collisions" ), py::arg (" mesh" ), py::arg (" vertices" ),
74
- py::arg (" project_hessian_to_psd" ) = ipc:: PSDProjectionMethod::NONE)
75
+ py::arg (" project_hessian_to_psd" ) = PSDProjectionMethod::NONE)
75
76
.def (
76
77
" shape_derivative" ,
77
78
py::overload_cast<
@@ -125,7 +126,8 @@ void define_barrier_potential(py::module_& m)
125
126
.def (
126
127
" hessian" ,
127
128
py::overload_cast<
128
- const Collision&, const VectorMax12d&, const PSDProjectionMethod>(
129
+ const Collision&, const VectorMax12d&,
130
+ const PSDProjectionMethod>(
129
131
&BarrierPotential::hessian, py::const_),
130
132
R"ipc_Qu8mg5v7(
131
133
Compute the hessian of the potential for a single collision.
@@ -138,7 +140,7 @@ void define_barrier_potential(py::module_& m)
138
140
The hessian of the potential.
139
141
)ipc_Qu8mg5v7" ,
140
142
py::arg (" collision" ), py::arg (" x" ),
141
- py::arg (" project_hessian_to_psd" ) = ipc:: PSDProjectionMethod::NONE)
143
+ py::arg (" project_hessian_to_psd" ) = PSDProjectionMethod::NONE)
142
144
.def (
143
145
" shape_derivative" ,
144
146
[](const DistanceBasedPotential& self, const Collision& collision,
0 commit comments