Skip to content

Commit

Permalink
Cashflow bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
gavbrennan committed Oct 9, 2023
1 parent 133a7e2 commit 3b58eab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Qwack.Core/Instruments/Cashflow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public CashFlow(TO_Cashflow to, ICalendarProvider calendarProvider, ICurrencyPro
FixedRateOrMargin = to.FixedRateOrMargin;
FlowType = to.FlowType;
Basis = to.Basis;
RateIndex = new FloatRateIndex(to.RateIndex, calendarProvider, currencyProvider);
RateIndex = to.RateIndex == null ? null : new FloatRateIndex(to.RateIndex, calendarProvider, currencyProvider);
Dcf = to.Dcf;
CpiFixingLagInMonths = to.CpiFixingLagInMonths;
AssetId = to.AssetId;
Expand Down
2 changes: 1 addition & 1 deletion version.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<VersionPrefix>0.7.43</VersionPrefix>
<VersionPrefix>0.7.44</VersionPrefix>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.43
0.7.44

0 comments on commit 3b58eab

Please sign in to comment.