@@ -781,7 +781,7 @@ using Aqua: Aqua
781781 [rootedtree ([1 ]), rootedtree ([1 ]), rootedtree ([1 , 2 ])],
782782 [rootedtree ([1 ]), rootedtree ([1 ]), rootedtree ([1 , 2 ])],
783783 [rootedtree ([1 ]), rootedtree ([1 ]), rootedtree ([1 , 2 ])],
784- [rootedtree ([1 ]), rootedtree ([1 ]), rootedtree ([1 ]), rootedtree ([1 ])],
784+ [rootedtree ([1 ]), rootedtree ([1 ]), rootedtree ([1 ]), rootedtree ([1 ])]
785785 ]
786786 reference_skeletons = [
787787 rootedtree ([1 ]),
@@ -791,7 +791,7 @@ using Aqua: Aqua
791791 rootedtree ([1 , 2 , 2 ]),
792792 rootedtree ([1 , 2 , 3 ]),
793793 rootedtree ([1 , 2 , 3 ]),
794- rootedtree ([1 , 2 , 3 , 3 ]),
794+ rootedtree ([1 , 2 , 3 , 3 ])
795795 ]
796796 for forest in reference_forests
797797 sort! (forest)
@@ -855,7 +855,7 @@ using Aqua: Aqua
855855 ([rootedtree ([1 ]), rootedtree ([1 ])], rootedtree ([1 , 2 , 2 ])),
856856 ([rootedtree ([1 ]), rootedtree ([1 ]), rootedtree ([1 ])], rootedtree ([1 , 2 ])),
857857 ([rootedtree ([1 , 2 ]), rootedtree ([1 ]), rootedtree ([1 ])], rootedtree ([1 ])),
858- ([rootedtree ([1 , 2 , 3 , 2 , 2 ])], rootedtree (Int[])),
858+ ([rootedtree ([1 , 2 , 3 , 2 , 2 ])], rootedtree (Int[]))
859859 ]
860860 sort! (reference_forests_and_subtrees)
861861
@@ -1502,24 +1502,24 @@ using Aqua: Aqua
15021502 [
15031503 rootedtree ([1 ], Bool[1 ]),
15041504 rootedtree ([1 ], Bool[1 ]),
1505- rootedtree ([1 , 2 ], Bool[0 , 0 ]),
1505+ rootedtree ([1 , 2 ], Bool[0 , 0 ])
15061506 ],
15071507 [
15081508 rootedtree ([1 ], Bool[0 ]),
15091509 rootedtree ([1 ], Bool[1 ]),
1510- rootedtree ([1 , 2 ], Bool[1 , 0 ]),
1510+ rootedtree ([1 , 2 ], Bool[1 , 0 ])
15111511 ],
15121512 [
15131513 rootedtree ([1 ], Bool[0 ]),
15141514 rootedtree ([1 ], Bool[1 ]),
1515- rootedtree ([1 , 2 ], Bool[0 , 1 ]),
1515+ rootedtree ([1 , 2 ], Bool[0 , 1 ])
15161516 ],
15171517 [
15181518 rootedtree ([1 ], Bool[0 ]),
15191519 rootedtree ([1 ], Bool[0 ]),
15201520 rootedtree ([1 ], Bool[1 ]),
1521- rootedtree ([1 ], Bool[1 ]),
1522- ],
1521+ rootedtree ([1 ], Bool[1 ])
1522+ ]
15231523 ]
15241524 reference_skeletons = [
15251525 rootedtree ([1 ], Bool[1 ]),
@@ -1529,7 +1529,7 @@ using Aqua: Aqua
15291529 rootedtree ([1 , 2 , 2 ], Bool[1 , 1 , 0 ]),
15301530 rootedtree ([1 , 2 , 3 ], Bool[1 , 0 , 0 ]),
15311531 rootedtree ([1 , 2 , 3 ], Bool[1 , 0 , 1 ]),
1532- rootedtree ([1 , 2 , 3 , 3 ], Bool[1 , 0 , 1 , 0 ]),
1532+ rootedtree ([1 , 2 , 3 , 3 ], Bool[1 , 0 , 1 , 0 ])
15331533 ]
15341534 for forest in reference_forests
15351535 sort! (forest)
@@ -1594,7 +1594,8 @@ using Aqua: Aqua
15941594 let order = 4
15951595 for t in RootedTreeIterator (order)
15961596 @test elementary_weight (t, rk. A, rk. b, rk. c) ≈ elementary_weight (t, rk)
1597- @test derivative_weight (t, RungeKuttaMethod (rk. A, rk. b, rk. c)) ≈ derivative_weight (t, rk)
1597+ @test derivative_weight (t, RungeKuttaMethod (rk. A, rk. b, rk. c)) ≈
1598+ derivative_weight (t, rk)
15981599 @test residual_order_condition (t, RungeKuttaMethod (rk. A, rk. b, rk. c)) ≈
15991600 residual_order_condition (t, rk)
16001601 end
@@ -1631,11 +1632,11 @@ using Aqua: Aqua
16311632 # Table II.2.1
16321633 As = [
16331634 [0 0 ; 1 // 2 1 // 2 ],
1634- [1 // 2 0 ; 1 // 2 0 ],
1635+ [1 // 2 0 ; 1 // 2 0 ]
16351636 ]
16361637 bs = [
16371638 [1 // 2 , 1 // 2 ],
1638- [1 // 2 , 1 // 2 ],
1639+ [1 // 2 , 1 // 2 ]
16391640 ]
16401641 ark = AdditiveRungeKuttaMethod (As, bs)
16411642
@@ -1660,11 +1661,11 @@ using Aqua: Aqua
16601661 # Table II.2.2
16611662 As = [
16621663 [0 0 0 ; 5 // 24 1 // 3 - 1 // 24 ; 1 // 6 2 // 3 1 // 6 ],
1663- [1 // 6 - 1 // 6 0 ; 1 // 6 1 // 3 0 ; 1 // 6 5 // 6 0 ],
1664+ [1 // 6 - 1 // 6 0 ; 1 // 6 1 // 3 0 ; 1 // 6 5 // 6 0 ]
16641665 ]
16651666 bs = [
16661667 [1 // 6 , 2 // 3 , 1 // 6 ],
1667- [1 // 6 , 2 // 3 , 1 // 6 ],
1668+ [1 // 6 , 2 // 3 , 1 // 6 ]
16681669 ]
16691670 ark = AdditiveRungeKuttaMethod (As, bs)
16701671
@@ -1725,7 +1726,7 @@ using Aqua: Aqua
17251726 1471266399579 / 7840856788654 ,
17261727 - 4482444167858 / 7529755066697 ,
17271728 11266239266428 / 11593286722821 ,
1728- 1767732205903 / 4055673282236 ,
1729+ 1767732205903 / 4055673282236
17291730 ]
17301731 rk_explicit = RungeKuttaMethod (A_explicit, b_explicit)
17311732 A_implicit = @SArray [0 0 0 0
@@ -1736,7 +1737,7 @@ using Aqua: Aqua
17361737 1471266399579 / 7840856788654 ,
17371738 - 4482444167858 / 7529755066697 ,
17381739 11266239266428 / 11593286722821 ,
1739- 1767732205903 / 4055673282236 ,
1740+ 1767732205903 / 4055673282236
17401741 ]
17411742 rk_implicit = RungeKuttaMethod (A_implicit, b_implicit)
17421743 ark = AdditiveRungeKuttaMethod ([rk_explicit, rk_implicit])
0 commit comments