Skip to content

Commit 3cbbfc1

Browse files
committed
fix flake8 errors
1 parent 74f697f commit 3cbbfc1

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

mesh/array_indexer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ def norm(self, n=0):
111111
return np.sqrt(self.g.dx * self.g.dy *
112112
np.sum((_tmp[self.g.ilo:self.g.ihi+1, self.g.jlo:self.g.jhi+1]**2).flat))
113113

114-
115114
def copy(self):
116115
"""make a copy of the array, defined on the same grid"""
117116
return ArrayIndexer(np.asarray(self).copy(), grid=self.g)

mesh/patch.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,6 @@ def __init__(self, grid, idir, dtype=np.float64):
675675
def add_derived(self, func):
676676
raise NotImplementedError("derived variables not yet supported for face-centered data")
677677

678-
679678
def create(self):
680679
"""Called after all the variables are registered and allocates the
681680
storage for the state data. For face-centered data, we have

0 commit comments

Comments
 (0)