Skip to content
Snippets Groups Projects
Commit 5f133b64 authored by Philipp Arras's avatar Philipp Arras
Browse files

Merge branch 'add_useful_error' into 'NIFTy_4'

Add error message to MultiDomains

See merge request ift/NIFTy!267
parents 918c2443 72ede95a
No related branches found
No related tags found
1 merge request!267Add error message to MultiDomains
Pipeline #35009 passed
......@@ -49,7 +49,7 @@ class MultiDomain(frozendict):
def __init__(self, domain, _callingfrommake=False):
if not _callingfrommake:
raise NotImplementedError
raise NotImplementedError('To create a MultiDomain call `MultiDomain.make()`.')
super(MultiDomain, self).__init__(domain)
@staticmethod
......
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