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
1e331f2c
Commit
1e331f2c
authored
Jan 30, 2018
by
Philipp Arras
Browse files
Add comment on missing curvature tests
parent
41d3585e
Pipeline
#24221
passed with stage
in 5 minutes and 16 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/test_energies/test_map.py
View file @
1e331f2c
...
...
@@ -158,6 +158,10 @@ class Energy_Tests(unittest.TestCase):
class
Curvature_Tests
(
unittest
.
TestCase
):
# Note: It is only possible to test linear curvatures since the non-linear
# curvatures are not the exact second derivative but only a part of it. One
# term is neglected which would render the second derivative non-positive
# definite.
@
expand
(
product
([
ift
.
RGSpace
(
64
,
distances
=
.
789
),
ift
.
RGSpace
([
32
,
32
],
distances
=
.
789
)],
[
4
,
78
,
23
]))
...
...
test/test_energies/test_power.py
View file @
1e331f2c
...
...
@@ -146,6 +146,10 @@ class Energy_Tests(unittest.TestCase):
class
Curvature_Tests
(
unittest
.
TestCase
):
# Note: It is only possible to test the linear power curvatures since the
# non-linear curvatures are not the exact second derivative but only a part
# of it. One term is neglected which would render the second derivative
# non-positive definite.
@
expand
(
product
([
ift
.
RGSpace
(
64
,
distances
=
.
789
),
ift
.
RGSpace
([
32
,
32
],
distances
=
.
789
)],
[
132
,
42
,
3
]))
...
...
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