From 7c4ee8577a33234461adc8be32733927fda35e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Sol=C3=A0?= <jsola@iri.upc.edu> Date: Thu, 7 Feb 2019 15:37:05 +0100 Subject: [PATCH] Little formatting --- src/constraint_block_absolute.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/constraint_block_absolute.h b/src/constraint_block_absolute.h index 1e901f104..e3def4493 100644 --- a/src/constraint_block_absolute.h +++ b/src/constraint_block_absolute.h @@ -35,8 +35,15 @@ class ConstraintBlockAbsolute : public ConstraintAnalytic * \param _start_idx (default=-1) the size of the state segment that is constrained, -1 = all the * */ - ConstraintBlockAbsolute(StateBlockPtr _sb_ptr, unsigned int _start_idx = 0, int _size = -1, bool _apply_loss_function = false, ConstraintStatus _status = CTR_ACTIVE) : - ConstraintAnalytic("BLOCK ABS", _apply_loss_function, _status, _sb_ptr), + ConstraintBlockAbsolute(StateBlockPtr _sb_ptr, + unsigned int _start_idx = 0, + int _size = -1, + bool _apply_loss_function = false, + ConstraintStatus _status = CTR_ACTIVE) : + ConstraintAnalytic("BLOCK ABS", + _apply_loss_function, + _status, + _sb_ptr), sb_size_(_sb_ptr->getSize()), sb_constrained_start_(_start_idx), sb_constrained_size_(_size == -1 ? sb_size_ : _size) -- GitLab