diff options
author | Guillermo Ramos | 2025-03-14 11:52:09 +0100 |
---|---|---|
committer | Guillermo Ramos | 2025-03-15 13:33:30 +0100 |
commit | a05b9066900a017ac75e77e687f5414ad6f8d25a (patch) | |
tree | c85eb5a1519a4c8b50fb6fc9c6d5e9dfe19b3c12 /src/bin/cli.rs | |
parent | 8dff02998db9eac1efacf555ccbdec198d7fe213 (diff) | |
download | hiccup-a05b9066900a017ac75e77e687f5414ad6f8d25a.tar.gz |
New update: change interest rate
Diffstat (limited to 'src/bin/cli.rs')
-rw-r--r-- | src/bin/cli.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/cli.rs b/src/bin/cli.rs index 5ca388b..2dae8ec 100644 --- a/src/bin/cli.rs +++ b/src/bin/cli.rs @@ -2,7 +2,8 @@ use hiccup::{SimUpdate::*, SimUpdates, Simulation}; fn main() { let mut sim = Simulation::new(390_000., 0.028, 30); - let updates: SimUpdates = Amortize(12_000.).every(12).and(Amortize(30_000.).at(1)); + let updates: SimUpdates = Amortize(12_000.).every(12).and(Amortize(30_000.).at(1)) + .and(SetI1(0.01).at(10)); // let mut sim = Simulation::new(200_000., 0.01621, 30); // let updates: SimUpdates = SimUpdates::default(); |