We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b50ffcb commit cac92c6Copy full SHA for cac92c6
decision_trees/vhdl_generators/tree.py
@@ -234,11 +234,11 @@ def _add_architecture_process_compare(self):
234
", features'length) then")
235
236
self.current_indent += 1
237
- text += self._insert_text_line_with_indent("splitResult(" + str(i) + ") <= '1';")
+ text += self._insert_text_line_with_indent("splitResult(" + str(i) + ") <= '0';")
238
self.current_indent -= 1
239
text += self._insert_text_line_with_indent("else")
240
241
- text += self._insert_text_line_with_indent("splitResult(" + str(i) + ") <= '0';")
+ text += self._insert_text_line_with_indent("splitResult(" + str(i) + ") <= '1';")
242
243
text += self._insert_text_line_with_indent("end if;")
244
0 commit comments