diff options
author | Aria Shrimpton <me@aria.rip> | 2024-03-04 14:00:22 +0000 |
---|---|---|
committer | Aria Shrimpton <me@aria.rip> | 2024-03-04 14:00:22 +0000 |
commit | 0b6909feb6bf666d999002b9f3d514d01ccf122f (patch) | |
tree | 4a6ecf7286e9898cfa2d808ce29a22ca61fcacc4 /src/crates/candelabra | |
parent | 7e25cf0c0d50e7606378a8ef91d66df8a979b1f7 (diff) |
try using order 3 polynomial
Diffstat (limited to 'src/crates/candelabra')
-rw-r--r-- | src/crates/candelabra/src/cost/fit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crates/candelabra/src/cost/fit.rs b/src/crates/candelabra/src/cost/fit.rs index c25974c..80515ab 100644 --- a/src/crates/candelabra/src/cost/fit.rs +++ b/src/crates/candelabra/src/cost/fit.rs @@ -7,7 +7,7 @@ use nalgebra::{dimension, Matrix, VecStorage}; use serde::{Deserialize, Serialize}; /// Number of coefficients to use -const COEFFICIENTS: usize = 4; +const COEFFICIENTS: usize = 3; /// Estimates durations using a 3rd-order polynomial. /// Value i is multiplied by x^i |