Skip to content

Commit 44f5682

Browse files
author
Benjamin Chrétien
committed
Remove invalid check
1 parent 02bdad3 commit 44f5682

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/tnlp.hxx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -398,10 +398,6 @@ namespace roboptim
398398
constraintsBuf_ =
399399
typename function_t::result_t (constraintsOutputSize ());
400400

401-
#ifndef ROBOPTIM_DO_NOT_CHECK_ALLOCATION
402-
Eigen::internal::set_is_malloc_allowed (true);
403-
#endif //! ROBOPTIM_DO_NOT_CHECK_ALLOCATION
404-
405401
Eigen::Map<const typename function_t::argument_t> x_ (x, n);
406402

407403
typedef typename constraints_t::const_iterator citer_t;

0 commit comments

Comments
 (0)