diff --git a/vban_cmd/factory.py b/vban_cmd/factory.py index f4339ce..4742966 100644 --- a/vban_cmd/factory.py +++ b/vban_cmd/factory.py @@ -37,14 +37,14 @@ class FactoryBuilder: def make_strip(self) -> Self: self._factory.strip = tuple( - strip(self.kind.phys_in < i, self._factory, i) + strip(i < self.kind.phys_in, self._factory, i) for i in range(self.kind.num_strip) ) return self def make_bus(self) -> Self: self._factory.bus = tuple( - bus(self.kind.phys_out < i, self._factory, i) + bus(i < self.kind.phys_out, self._factory, i) for i in range(self.kind.num_bus) ) return self