Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
8106552b
Commit
8106552b
authored
Jan 30, 2018
by
Martin Reinecke
Browse files
Merge branch 'energy_tests' of gitlab.mpcdf.mpg.de:ift/NIFTy into energy_tests
parents
adbfb3b7
1e331f2c
Pipeline
#24222
passed with stage
in 4 minutes and 54 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/test_energies/test_map.py
View file @
8106552b
...
...
@@ -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 @
8106552b
...
...
@@ -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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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