From 96634abfe91e5883d54be47fd0725df5b5cbbde5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Thu, 6 May 2021 00:29:34 +0200 Subject: [PATCH] Remove useless {S} --- src/Utilities/struct_of_constraints.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utilities/struct_of_constraints.jl b/src/Utilities/struct_of_constraints.jl index a3cd328d14..dd38494ea2 100644 --- a/src/Utilities/struct_of_constraints.jl +++ b/src/Utilities/struct_of_constraints.jl @@ -270,7 +270,7 @@ function struct_of_constraint_code(struct_name, types, field_types = nothing) model::$esc_struct_name, ::Type{<:$fun}, ::Type{<:$set}, - ) where {S} + ) return model.$field end end