Skip to content

Commit

Permalink
Remove invalid check
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Chrétien committed Jan 7, 2016
1 parent 02bdad3 commit 44f5682
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/tnlp.hxx
Expand Up @@ -398,10 +398,6 @@ namespace roboptim
constraintsBuf_ =
typename function_t::result_t (constraintsOutputSize ());

#ifndef ROBOPTIM_DO_NOT_CHECK_ALLOCATION
Eigen::internal::set_is_malloc_allowed (true);
#endif //! ROBOPTIM_DO_NOT_CHECK_ALLOCATION

Eigen::Map<const typename function_t::argument_t> x_ (x, n);

typedef typename constraints_t::const_iterator citer_t;
Expand Down

0 comments on commit 44f5682

Please sign in to comment.