It works, or so it seems
This commit is contained in:
@@ -34,7 +34,7 @@ fn main() {
|
||||
.assume_utc()
|
||||
.unix_timestamp();
|
||||
|
||||
times.push(time as u64);
|
||||
times.push(time as f64 / (60 * 60 * 24) as f64);
|
||||
}
|
||||
|
||||
let mut h = History::new(
|
||||
@@ -48,6 +48,10 @@ fn main() {
|
||||
0.036,
|
||||
P_DRAW,
|
||||
);
|
||||
|
||||
h.epsilon = 0.01;
|
||||
h.iterations = 10;
|
||||
|
||||
h.convergence();
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user