Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit 6ffadaf

Browse files
committed
Corrected access to private members in ASC class.
1 parent 12ff605 commit 6ffadaf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: hex_utils/asc.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def _getNeighbourhoodGridCoords(self, i, j):
8888
ii.append(i-1)
8989
jj.append(j)
9090

91-
if j < self.nrows - 1:
91+
if j < self._nrows - 1:
9292
ii.append(i-1)
9393
jj.append(j+1)
9494

@@ -99,11 +99,11 @@ def _getNeighbourhoodGridCoords(self, i, j):
9999
ii.append(i)
100100
jj.append(j)
101101

102-
if j < self.nrows - 1:
102+
if j < self._nrows - 1:
103103
ii.append(i)
104104
jj.append(j+1)
105105

106-
if i < self.ncols - 1:
106+
if i < self._ncols - 1:
107107

108108
if j > 0:
109109
ii.append(i+1)
@@ -112,7 +112,7 @@ def _getNeighbourhoodGridCoords(self, i, j):
112112
ii.append(i+1)
113113
jj.append(j)
114114

115-
if j < self.nrows - 1:
115+
if j < self._nrows - 1:
116116
ii.append(i+1)
117117
jj.append(j+1)
118118

0 commit comments

Comments
 (0)