Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
DEVOPS-353: Fix exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
lscheinkman committed Mar 8, 2018
1 parent ee591f8 commit 380c10c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/py/src/nupic/bindings/regions/PyRegion.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def setSparseOutput(outputs, name, value):
if outputs[name].size < value.size:
raise Exception(
"Output {} must be less than {}. Given value size is {}".format(
name, value.size))
name, outputs[name].size, value.size))

outputs[lenAttr][0] = value.size
outputs[name][:value.size] = value

0 comments on commit 380c10c

Please sign in to comment.