From 49a0ac28ae835b296161296e944fd68d1b2ef265 Mon Sep 17 00:00:00 2001 From: "St. Elmo Wilken" Date: Mon, 29 Jan 2024 11:33:49 +0100 Subject: [PATCH] Revert "add another prep" This reverts commit 8d3314db55f427cd772f5a3a84278e428b901890. --- src/builders/interface.jl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/builders/interface.jl b/src/builders/interface.jl index bb8c9e6c8..bde95e6c4 100644 --- a/src/builders/interface.jl +++ b/src/builders/interface.jl @@ -55,10 +55,6 @@ function interface_constraints( prep(id, (mod, mod[interface])) prep(id::Symbol, (mod, interface, multiplier)::Tuple{C.ConstraintTree,Symbol,<:Real}) = prep(id, (mod, C.map(c -> c * multiplier, mod[interface]))) - prep( - id::Symbol, - (mod, interface, multiplier)::Tuple{C.ConstraintTree,C.ConstraintTree,<:Real}, - ) = prep(id, (mod, C.map(c -> c * multiplier, interface))) prep(id::Symbol, (mod, interface)::Tuple{C.ConstraintTreeElem,C.ConstraintTreeElem}) = (id^(:network^mod * :interface^interface)) prep_pair((a, b)) = prep(a, b)