Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
bertiqwerty committed Aug 10, 2023
1 parent aaf4422 commit 01c88cf
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,19 @@ impl<'a> eframe::App for BalanceApp<'a> {
self.rebalance_stats = None;
match self.sim.parse() {
Ok(data) => {
let (noise, expected_yearly_return, is_eyr_independent, start_date, n_months) =
data;
match random_walk(expected_yearly_return, is_eyr_independent, noise, n_months) {
let (
noise,
expected_yearly_return,
is_eyr_independent,
start_date,
n_months,
) = data;
match random_walk(
expected_yearly_return,
is_eyr_independent,
noise,
n_months,
) {
Ok(values) => {
let tmp = Chart::new(
format!(
Expand Down

0 comments on commit 01c88cf

Please sign in to comment.