Skip to content

Commit 274288a

Browse files
committed
corrected dimension querry in set_stimulus function
1 parent 6f13ec2 commit 274288a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/pRF.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ function set_stimulus(self,stimulus)
182182
% and stored in matrix form.
183183
% Note that the provided stimulus matrix can be either 3D
184184
% (height-by-width-by-time) or 2D (height*width-by-time).
185-
if ndims(stimulus==3)
185+
if ndims(stimulus)==3
186186
self.stimulus = reshape(stimulus,...
187187
self.w_stimulus*self.h_stimulus,...
188188
self.n_samples);

0 commit comments

Comments
 (0)