@@ -188,11 +188,11 @@ namespace pinocchio
188
188
" Returns the Constraint Cholesky decomposition associated to this "
189
189
" DelassusCholeskyExpression." ,
190
190
bp::return_internal_reference<>())
191
-
192
191
.def (DelassusOperatorBasePythonVisitor<DelassusCholeskyExpression>());
193
192
}
194
193
195
194
{
195
+ #ifndef PINOCCHIO_PYTHON_SKIP_CASADI_UNSUPPORTED
196
196
typedef DelassusOperatorDenseTpl<context::Scalar, context::Options> DelassusOperatorDense;
197
197
bp::class_<DelassusOperatorDense>(
198
198
" DelassusOperatorDense" , " Delassus Cholesky dense operator from a dense matrix." ,
@@ -201,9 +201,11 @@ namespace pinocchio
201
201
bp::args (" self" , " matrix" ), " Build from a given dense matrix" ))
202
202
203
203
.def (DelassusOperatorBasePythonVisitor<DelassusOperatorDense>());
204
+ #endif // PINOCCHIO_PYTHON_SKIP_CASADI_UNSUPPORTED
204
205
}
205
206
206
207
{
208
+ #ifndef PINOCCHIO_PYTHON_SKIP_CASADI_UNSUPPORTED
207
209
typedef DelassusOperatorSparseTpl<context::Scalar, context::Options>
208
210
DelassusOperatorSparse;
209
211
bp::class_<DelassusOperatorSparse, boost::noncopyable>(
@@ -213,6 +215,7 @@ namespace pinocchio
213
215
bp::args (" self" , " matrix" ), " Build from a given sparse matrix" ))
214
216
215
217
.def (DelassusOperatorBasePythonVisitor<DelassusOperatorSparse>());
218
+ #endif // PINOCCHIO_PYTHON_SKIP_CASADI_UNSUPPORTED
216
219
}
217
220
#ifdef PINOCCHIO_WITH_ACCELERATE_SUPPORT
218
221
{
0 commit comments