From 71e7a7d818e02b7b01a2db0e155b9f52c4677e32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Sun, 12 Nov 2023 14:28:57 +0100 Subject: [PATCH] Fix format --- src/constraints.jl | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/constraints.jl b/src/constraints.jl index eb74ec33403..0d687686fb9 100644 --- a/src/constraints.jl +++ b/src/constraints.jl @@ -87,22 +87,12 @@ end function _set_converted( attr::MOI.AbstractConstraintAttribute, - con_ref::ConstraintRef{ - <:AbstractModel, - <:MOI.ConstraintIndex{ - F, - }, - }, + con_ref::ConstraintRef{<:AbstractModel,<:MOI.ConstraintIndex{F}}, value, ) where {F<:MOI.AbstractFunction} model = owner_model(con_ref) V = MOI.Utilities.value_type(value_type(typeof(model)), F) - MOI.set( - model, - attr, - con_ref, - _convert_if_something(V, value), - ) + MOI.set(model, attr, con_ref, _convert_if_something(V, value)) return end