Commit 1e331f2c authored by Philipp Arras's avatar Philipp Arras
Browse files

Add comment on missing curvature tests

parent 41d3585e
Pipeline #24221 passed with stage
in 5 minutes and 16 seconds
...@@ -158,6 +158,10 @@ class Energy_Tests(unittest.TestCase): ...@@ -158,6 +158,10 @@ class Energy_Tests(unittest.TestCase):
class Curvature_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), @expand(product([ift.RGSpace(64, distances=.789),
ift.RGSpace([32, 32], distances=.789)], ift.RGSpace([32, 32], distances=.789)],
[4, 78, 23])) [4, 78, 23]))
......
...@@ -146,6 +146,10 @@ class Energy_Tests(unittest.TestCase): ...@@ -146,6 +146,10 @@ class Energy_Tests(unittest.TestCase):
class Curvature_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), @expand(product([ift.RGSpace(64, distances=.789),
ift.RGSpace([32, 32], distances=.789)], ift.RGSpace([32, 32], distances=.789)],
[132, 42, 3])) [132, 42, 3]))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment