summaryrefslogtreecommitdiffstats
path: root/src/vZ/RK4.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vZ/RK4.hpp')
-rw-r--r--src/vZ/RK4.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/vZ/RK4.hpp b/src/vZ/RK4.hpp
index fa50461..39fa306 100644
--- a/src/vZ/RK4.hpp
+++ b/src/vZ/RK4.hpp
@@ -29,12 +29,12 @@ namespace vZ
// Four function evaluations per step
// Its tableau is:
//
- // 0 |
- // 1/2|1/2
- // 1/2|0 1/2
- // 1 |0 0 1
- // ---+---------------
- // |1/6 1/3 1/3 1/6
+ // 0 |
+ // 1/2 | 1/2
+ // 1/2 | 0 1/2
+ // 1 | 0 0 1
+ // ----+----------------
+ // | 1/6 1/3 1/3 1/6
//
// k1 = dt*f(y[n])
// k2 = dt*f(y[n] + (dt/2)*k1)