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
8e01fbd3
Commit
8e01fbd3
authored
Dec 01, 2017
by
Martin Reinecke
Browse files
remove debug prints
parent
9d7fe771
Pipeline
#22445
passed with stage
in 4 minutes and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty/operators/dof_projection_operator.py
View file @
8e01fbd3
...
...
@@ -22,10 +22,8 @@ class DOFProjectionOperator(LinearOperator):
if
not
len
(
dofdex
.
domain
)
==
1
:
raise
ValueError
(
"dofdex must live on exactly one Space"
)
if
not
np
.
issubdtype
(
dofdex
.
dtype
,
np
.
integer
):
print
(
dofdex
.
dtype
.
type
,
np
.
integer
)
raise
TypeError
(
"dofdex must contain integer numbers"
)
if
partner
!=
dofdex
.
domain
[
0
]:
print
(
partner
,
dofdex
.
domain
[
0
])
raise
ValueError
(
"incorrect dofdex domain"
)
nbin
=
dofdex
.
max
()
...
...
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