Skip to content

Commit 5c38c8b

Browse files
committed
fix 'ngrid' option
1 parent d1aeda8 commit 5c38c8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PoseGraph.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function plot(pg, varargin)
218218

219219
h = waitbar(0, 'rendering a map');
220220

221-
world = zeros(opt.ngrid, opt.ngrid, 'int32');
221+
world = zeros(pg.ngrid, pg.ngrid, 'int32');
222222
for i=1:1:pg.graph.n
223223

224224
if rem(i, 20) == 0

0 commit comments

Comments
 (0)