Skip to content

Commit

Permalink
Flipped output sign
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeLam authored and SBuercklin committed Aug 26, 2021
1 parent b4bd036 commit 9bca1d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neurons/InhibNeuron.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function update(neuron::InhibNeuron, input_update, dt, t)
end

function get_neuron_outputs(n::InhibNeuron)
return get_neuron_outputs(n.inner_neuron)
return get_neuron_outputs(-1.0*n.inner_neuron)
end

function get_neuron_states(n::InhibNeuron)
Expand Down

0 comments on commit 9bca1d4

Please sign in to comment.