Commit 24aad6fe authored by Philipp Arras's avatar Philipp Arras
Browse files

Do not support UnstructuredDomains anymore

parent 8a83b8da
......@@ -55,13 +55,11 @@ class LinearInterpolator(LinearOperator):
mg = array(list(map(ravel, mg)))
dist = []
for dom in self.domain:
if isinstance(dom, UnstructuredDomain):
elif isinstance(dom, RGSpace):
if isinstance(dom, RGSpace):
raise TypeError
dist = array(dist).flatten().reshape((-1, 1))
dist = array(dist).reshape((-1, 1))
pos = positions/dist
excess = pos-pos.astype(int64)
pos = pos.astype(int64)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment