diff --git a/include/z5/filesystem/factory.hxx b/include/z5/filesystem/factory.hxx index bf86bb9..831fa64 100644 --- a/include/z5/filesystem/factory.hxx +++ b/include/z5/filesystem/factory.hxx @@ -82,6 +82,10 @@ namespace filesystem { ptr.reset(new Dataset(dataset, metadata)); break; case types::float64: ptr.reset(new Dataset(dataset, metadata)); break; + case types::complex64: + ptr.reset(new Dataset>(dataset, metadata)); break; + case types::complex128: + ptr.reset(new Dataset>(dataset, metadata)); break; } return ptr; }