Skip to content
Snippets Groups Projects
Commit bb61b260 authored by Matthias Diener's avatar Matthias Diener
Browse files

simplify _PytatoFakeNumpyLinalgNamespace

parent 50e3c2d2
No related branches found
No related tags found
No related merge requests found
...@@ -40,9 +40,8 @@ import loopy as lp ...@@ -40,9 +40,8 @@ import loopy as lp
class _PytatoFakeNumpyLinalgNamespace(BaseFakeNumpyLinalgNamespace): class _PytatoFakeNumpyLinalgNamespace(BaseFakeNumpyLinalgNamespace):
def norm(self, ary, ord=None): # Everything is implemented in the base class for now.
# FIXME: handle isinstance(ary, DOFArray) case pass
return super().norm(ary, ord)
class _PytatoFakeNumpyNamespace(BaseFakeNumpyNamespace): class _PytatoFakeNumpyNamespace(BaseFakeNumpyNamespace):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment