Skip to content

Commit

Permalink
Fix #2
Browse files Browse the repository at this point in the history
Correctly scale post-ensemble target values by radius.
  • Loading branch information
astoeckel committed May 30, 2019
1 parent 86b65e7 commit 719ba66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nengo_bio/builder/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def build_solver(model, solver, _, rng):

# For the target population, fetch the gains and biases
built_post_ens = model.params[conn.post_obj]
encoders = built_post_ens.encoders
encoders = built_post_ens.encoders / conn.post.radius
gain = built_post_ens.gain
bias = built_post_ens.bias

Expand Down

0 comments on commit 719ba66

Please sign in to comment.