Skip to content

Commit

Permalink
fixup fix to filter removal
Browse files Browse the repository at this point in the history
  • Loading branch information
mundya committed Dec 13, 2015
1 parent a853097 commit 33dab80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nengo_spinnaker/utils/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ def optimise_out_passthrough_nodes(model, passthrough_nodes, config,
getconfig(config, node, "optimize_out"))
if remove_node or remove_node is None:
removed = remove_operator_from_connection_map(
model.conn_map, operator, force=bool(remove_node))
model.connection_map, operator, force=bool(remove_node))

# Log if the Node was removed
if removed:
if node in model.objects_operators:
model.objects_operators.pop(node)
if node in model.object_operators:
model.object_operators.pop(node)
else:
model.extra_operators.remove(operator)

Expand Down

0 comments on commit 33dab80

Please sign in to comment.