Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/target
/.idea
**/.DS_Store
Cargo.lock
Cargo.lock
/.vscode
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "finquant"
version = "0.0.55"
version = "0.0.56"
authors = ["Jeremy Wang <[email protected]>", "David Steiner <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "Experimental Rust Quant Library"
Expand Down
2 changes: 1 addition & 1 deletion src/derivatives/interestrate/swap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl InterestRateSwapLeg {
)
}

pub fn is_fixe_leg(&self) -> bool {
pub fn is_fixed_leg(&self) -> bool {
match self.swap_type {
InterestRateSwapLegType::Fixed { coupon: _ } => true,
InterestRateSwapLegType::Float { spread: _ } => false,
Expand Down