Skip to content

Commit 44bcf43

Browse files
committed
patchsize fix in reshape to 2D
1 parent 795ea12 commit 44bcf43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/+patchview/reshapeto2D.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
patchescell = dimsplit(1, patches);
1717

1818
% reshape each patch
19-
pfn = @(p) patchview.reshapeto2D(reshape(p, patchSize), patchSize);
19+
pfn = @(p) patchview.reshapeto2D(reshape(p, patchSize));
2020
patchesreshapedcell = cellfunc(pfn, patchescell);
2121

2222
% add a line between patches.

0 commit comments

Comments
 (0)