diff --git a/python/dune/perftool/loopy/target.py b/python/dune/perftool/loopy/target.py
index 2553dcf9345ae53d97723ee5717d5035df6372b8..dd4441ddc5e54389640723d6dd92ab060844a404 100644
--- a/python/dune/perftool/loopy/target.py
+++ b/python/dune/perftool/loopy/target.py
@@ -36,8 +36,7 @@ class DuneTarget(TargetBase):
 
     def dtype_to_typename(self, dtype):
         # For now, we do this the simplest possible way
-        assert(type(dtype) == numpy.dtype)
-        return _registry[dtype.name]
+        return _registry[dtype.dtype.name]
 #
 #     def is_vector_dtype(self, dtype):
 #         raise NotImplementedError()
diff --git a/python/loopy b/python/loopy
index b3375f95b44990cea9c91b257f81d59b8d3bc50e..c3950ff5c8fce47f208ffe59374222a66a80b64d 160000
--- a/python/loopy
+++ b/python/loopy
@@ -1 +1 @@
-Subproject commit b3375f95b44990cea9c91b257f81d59b8d3bc50e
+Subproject commit c3950ff5c8fce47f208ffe59374222a66a80b64d