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
This commit is contained in:
Rodrigo Arias 2023-03-08 16:54:32 +01:00 committed by Rodrigo Arias Mallo
parent c624374cc8
commit 1909d8106c

View File

@ -223,11 +223,6 @@ mux_set_input(struct mux *mux, int64_t index, struct chan *chan)
return -1; return -1;
} }
if (chan == mux->select) {
err("cannot use same input channel as select");
return -1;
}
struct mux_input *input = &mux->inputs[index]; struct mux_input *input = &mux->inputs[index];
if (input->chan != NULL) { if (input->chan != NULL) {