Skip to content

Commit

Permalink
✏️ ntrial not ntrials
Browse files Browse the repository at this point in the history
  • Loading branch information
WillForan committed Sep 24, 2024
1 parent a42f77b commit 21333dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion private/gen_choices.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function block_choices = gen_choices(ntrials)
function block_choices = gen_choices(ntrial)
% ntrial=36;
choices = [ 1 2; 2 3; 1 3];
block_choices = Shuffle(repmat(choices,ntrial/length(choices),1),2);
Expand Down

0 comments on commit 21333dc

Please sign in to comment.