From 1909d8106c91573733b9099559926d3792736af2 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Wed, 8 Mar 2023 16:54:32 +0100 Subject: [PATCH] Allow the select channel as input in a mux Required to implement the tr channel in the breakdown model. See https://pm.bsc.es/gitlab/rarias/ovni/-/issues/101 --- src/emu/mux.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/emu/mux.c b/src/emu/mux.c index db015cf..ba2ea7f 100644 --- a/src/emu/mux.c +++ b/src/emu/mux.c @@ -223,11 +223,6 @@ mux_set_input(struct mux *mux, int64_t index, struct chan *chan) return -1; } - if (chan == mux->select) { - err("cannot use same input channel as select"); - return -1; - } - struct mux_input *input = &mux->inputs[index]; if (input->chan != NULL) {