fix: missing domain width parameter for neigh in landscape example
This commit is contained in:
parent
a90792a323
commit
b0feb71840
1 changed files with 3 additions and 1 deletions
|
|
@ -42,7 +42,9 @@ if __name__ == "__main__":
|
||||||
dim = 2, # Two sensors moving along y axis.
|
dim = 2, # Two sensors moving along y axis.
|
||||||
scale = w),
|
scale = w),
|
||||||
make.neig(num.neighb_square,
|
make.neig(num.neighb_square,
|
||||||
scale = 0.1 * w),
|
scale = 0.1 * w,
|
||||||
|
domain_width = w
|
||||||
|
),
|
||||||
iters
|
iters
|
||||||
)
|
)
|
||||||
sensors = [ (int(x0), int(round(sol[0]))), (int(x1), int(round(sol[1]))) ]
|
sensors = [ (int(x0), int(round(sol[0]))), (int(x1), int(round(sol[1]))) ]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue