/* m o v e I n a c t i v e T o A c t i v e  */
returnValue Constraints_moveInactiveToActive(Constraints *_THIS, int number, SubjectToStatus _status)
/* m o v e I n a c t i v e T o A c t i v e  */
returnValue Constraints_moveInactiveToActive(Constraints *_THIS, int number, SubjectToStatus _status)
{
	if ( ( number < 0 ) || ( number >= _THIS->n ) )
		return THROWERROR( RET_INDEX_OUT_OF_BOUNDS );
	if ( Constraints_removeIndex( _THIS,Constraints_getInactive( _THIS ),number ) != SUCCESSFUL_RETURN )
		return THROWERROR( RET_MOVING_BOUND_FAILED );
	if ( Constraints_addIndex( _THIS,Constraints_getActive( _THIS ),number,_status ) != SUCCESSFUL_RETURN )
		return THROWERROR( RET_MOVING_BOUND_FAILED );
	return SUCCESSFUL_RETURN;
}