aboutsummaryrefslogtreecommitdiff
path: root/src/crates
diff options
context:
space:
mode:
Diffstat (limited to 'src/crates')
-rw-r--r--src/crates/candelabra/src/cost/benchmark.rs2
-rw-r--r--src/crates/candelabra/src/cost/fit.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/crates/candelabra/src/cost/benchmark.rs b/src/crates/candelabra/src/cost/benchmark.rs
index b67d6a3..45bac5d 100644
--- a/src/crates/candelabra/src/cost/benchmark.rs
+++ b/src/crates/candelabra/src/cost/benchmark.rs
@@ -25,7 +25,7 @@ pub const ELEM_TYPE: &str = "usize";
/// String representation of the array of N values we use for benchmarking
pub const NS: &str = "[
- 64, 256, 2048, 5120, 16384, 65536
+ 100, 500, 6_000, 12_000, 24_000, 36_000, 48_000, 60_000
]";
/// Fixed seed for benchmarking
diff --git a/src/crates/candelabra/src/cost/fit.rs b/src/crates/candelabra/src/cost/fit.rs
index 8e09e1c..ca81118 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 = 3;
+const COEFFICIENTS: usize = 4;
/// Estimates durations using a 3rd-order polynomial.
/// Value i is multiplied by x^i