Skip to content

Commit

Permalink
get_rr_rc: no need to put ranges into variables
Browse files Browse the repository at this point in the history
  • Loading branch information
pesekon2 committed Dec 19, 2024
1 parent 79c12a1 commit 267ccd2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions smoderp2d/providers/base/data_preparation.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,14 @@ def _get_rr_rc(r, c, mat_boundary):
:param mat_boundary: TODO
:return: TODO
"""
nr = range(r)
nc = range(c)

rr = []
rc = []

rr_insert = False

for i in nr:
for i in range(r):
one_col = []
for j in nc:
for j in range(c):

if mat_boundary[i][j] == -99:
one_col.append(j)
Expand Down

0 comments on commit 267ccd2

Please sign in to comment.