Commit a4f3aad
committed
Corrected Moran library model and function input consistency test
There was a confusion in the library model between the weight matrix and
the gaml grid.
The error in the consistency test was due to being tested on the library
model.
Also added a neighbours spatial weight case. Fairly common with Moran
index and easy to test.1 parent 9b2d5ac commit a4f3aad
2 files changed
Lines changed: 21 additions & 17 deletions
File tree
- msi.gama.core/src/msi/gaml/operators
- msi.gama.models/models/Modeling/Spatial Topology/Spatial Operators/models
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7261 | 7261 | | |
7262 | 7262 | | |
7263 | 7263 | | |
7264 | | - | |
| 7264 | + | |
7265 | 7265 | | |
7266 | 7266 | | |
7267 | 7267 | | |
| |||
Lines changed: 20 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
42 | 48 | | |
43 | | - | |
44 | 49 | | |
45 | | - | |
46 | | - | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
53 | | - | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
| |||
0 commit comments