dgeoutils 2.4.25 → 2.4.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/TraceMatrix.js
CHANGED
|
@@ -207,8 +207,8 @@ var TraceMatrix = (function () {
|
|
|
207
207
|
return TraceMatrixValues.f;
|
|
208
208
|
});
|
|
209
209
|
this.m = TraceMatrix.createMatrix(this.size);
|
|
210
|
-
for (var i = 1; i < this.size.
|
|
211
|
-
for (var j = 1; j < this.size.
|
|
210
|
+
for (var i = 1; i < this.size.y - 1; i++) {
|
|
211
|
+
for (var j = 1; j < this.size.x - 1; j++) {
|
|
212
212
|
if (t[i][j] === TraceMatrixValues.t) {
|
|
213
213
|
this.m[i - 1][j - 1] = TraceMatrixValues.t;
|
|
214
214
|
this.m[i - 1][j] = TraceMatrixValues.t;
|
|
@@ -155,8 +155,8 @@ export class TraceMatrix {
|
|
|
155
155
|
return TraceMatrixValues.f;
|
|
156
156
|
});
|
|
157
157
|
this.m = TraceMatrix.createMatrix(this.size);
|
|
158
|
-
for (let i = 1; i < this.size.
|
|
159
|
-
for (let j = 1; j < this.size.
|
|
158
|
+
for (let i = 1; i < this.size.y - 1; i++) {
|
|
159
|
+
for (let j = 1; j < this.size.x - 1; j++) {
|
|
160
160
|
if (t[i][j] === TraceMatrixValues.t) {
|
|
161
161
|
this.m[i - 1][j - 1] = TraceMatrixValues.t;
|
|
162
162
|
this.m[i - 1][j] = TraceMatrixValues.t;
|
package/dist/esm/TraceMatrix.js
CHANGED
|
@@ -204,8 +204,8 @@ var TraceMatrix = (function () {
|
|
|
204
204
|
return TraceMatrixValues.f;
|
|
205
205
|
});
|
|
206
206
|
this.m = TraceMatrix.createMatrix(this.size);
|
|
207
|
-
for (var i = 1; i < this.size.
|
|
208
|
-
for (var j = 1; j < this.size.
|
|
207
|
+
for (var i = 1; i < this.size.y - 1; i++) {
|
|
208
|
+
for (var j = 1; j < this.size.x - 1; j++) {
|
|
209
209
|
if (t[i][j] === TraceMatrixValues.t) {
|
|
210
210
|
this.m[i - 1][j - 1] = TraceMatrixValues.t;
|
|
211
211
|
this.m[i - 1][j] = TraceMatrixValues.t;
|