Skip to content

Commit

Permalink
Update attention_simulation_iteration.m
Browse files Browse the repository at this point in the history
  • Loading branch information
huangpei90 authored Jul 18, 2021
1 parent bb31369 commit c36037e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions attention_simulation_iteration.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
face_sigma = -1;
house_sigma = -1;
while abs(face_sigma-sim_par.n_neurons_face_sigma) > sim_par.n_neurons_face_sigma && abs(house_sigma-sim_par.n_neurons_house_sigma) > sim_par.n_neurons_face_sigma
% Truncating the gaussian at both ends so that there are no negative values of sigma
face_sigma = normrnd(sim_par.n_neurons_face_sigma, sim_par.n_neurons_pop_sigma);
house_sigma = normrnd(sim_par.n_neurons_house_sigma, sim_par.n_neurons_pop_sigma);
end
Expand Down

0 comments on commit c36037e

Please sign in to comment.