From 3ef4eb5678730e198ea87f9c4dc27b04ca53ea15 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Thu, 25 Jun 2026 09:17:20 +1200 Subject: [PATCH] Fix formatting for latest JuliaFormatter --- src/MOI/MOI_wrapper.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MOI/MOI_wrapper.jl b/src/MOI/MOI_wrapper.jl index 97a2f49c..3021947e 100644 --- a/src/MOI/MOI_wrapper.jl +++ b/src/MOI/MOI_wrapper.jl @@ -2159,7 +2159,7 @@ function _info( if haskey(model.affine_constraint_info, key.value) return model.affine_constraint_info[key.value] end - throw(MOI.InvalidIndex(key)) + return throw(MOI.InvalidIndex(key)) end function MOI.is_valid( @@ -2715,7 +2715,7 @@ function _info( if haskey(model.sos_constraint_info, key.value) return model.sos_constraint_info[key.value] end - throw(MOI.InvalidIndex(key)) + return throw(MOI.InvalidIndex(key)) end _sos_type(::MOI.SOS1) = convert(Cchar, '1')