Skip to content

Commit ea319ec

Browse files
committed
Merge pull request #75 from danielru/fix/issue_#63
Test all node types
2 parents 45d10c7 + 6c621f2 commit ea319ec

File tree

3 files changed

+179
-156
lines changed

3 files changed

+179
-156
lines changed

pySDC/CollocationClasses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,6 @@ def _getNodes(self):
212212
nodes = np.concatenate(([-1.0],x))
213213

214214
nodes = (a * (1 - nodes) + b * (1 + nodes)) / 2
215-
print('WARNING: GaussRadau_Left untested, use at own risk!')
215+
print('WARNING: GaussRadau_Left not fully tested, use at own risk!')
216216

217217
return nodes

tests/test_collocation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
t_start = np.random.rand(1)*0.2
99
t_end = 0.8 + np.random.rand(1)*0.2
1010

11-
classes = [ ["CollGaussLegendre", 2, 12], ["CollGaussLobatto", 2, 12], ["CollGaussRadau_Right", 2, 12] ]
11+
classes = [ ["CollGaussLegendre", 2, 12], ["CollGaussLobatto", 2, 12], ["CollGaussRadau_Right", 2, 12], ["CollGaussRadau_Left", 2, 12] ]
1212

1313
class TestCollocation:
1414

0 commit comments

Comments
 (0)