Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
5f133b64
Commit
5f133b64
authored
Jun 18, 2018
by
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
Pipeline
#35009
passed with stages
in 9 minutes and 46 seconds
Changes
1
Pipelines
62
Hide whitespace changes
Inline
Side-by-side
nifty4/multi/multi_domain.py
View file @
5f133b64
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment