Skip to content

Commit 287c8f9

Browse files
authored
Update MapSparse.py
Qualification for Cython.
1 parent b6fcadd commit 287c8f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

MapSparse.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def is_null(self):
4343
'''
4444
See if this AREA has anything important.
4545
'''
46-
dum = Area()
46+
dum = SparseMap.Area()
4747
return dum.name == self.name and \
4848
dum.number == self.number and \
4949
len(dum.objs) == len(self._pieces)
@@ -75,7 +75,7 @@ def get_map(self)->list:
7575

7676
def __str__(self):
7777
result = ''
78-
for line in get_map():
78+
for line in self.get_map():
7979
result += ''.join(line)
8080
result += '\n'
8181
return result
@@ -234,4 +234,4 @@ def plot_ones_based(self, ones_based, xpos, ypos, glyph):
234234
Add an item to a MAP using the 1's based AREA identifier.
235235
Coordinates here are ONES based.
236236
'''
237-
return self.plot(ones_based, xpos -1, ypos -1, glyph)
237+
return self.plot(ones_based, xpos -1, ypos -1, glyph)

0 commit comments

Comments
 (0)