Skip to content

Commit

Permalink
Serialization fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gavbrennan committed Oct 1, 2023
1 parent 385d654 commit 1c02670
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/Qwack.Core/Instruments/Funding/GenericSwapLeg.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ private void SetAllCalendars(Calendar calendars)
EffectiveDate = EffectiveDate,
TerminationDate = new TO_ITenorDate { Absolute = TerminationDate is TenorDateAbsolute ta ? ta.AbsoluteDate : null, Relative = TerminationDate is TenorDateRelative tr ? tr.RelativeTenor.ToString() : null },
ResetFrequency = ResetFrequency.ToString(),
Currency = Currency.ToString(),
Currency = Currency?.ToString(),
AccrualDCB = AccrualDCB,
FixingCalendar = FixingCalendar.Name,
ResetCalendar = ResetCalendar.Name,
AccrualCalendar = AccrualCalendar.Name,
PaymentCalendar = PaymentCalendar.Name,
FixingCalendar = FixingCalendar?.Name,
ResetCalendar = ResetCalendar?.Name,
AccrualCalendar = AccrualCalendar?.Name,
PaymentCalendar = PaymentCalendar?.Name,
ResetRollType = ResetRollType,
PaymentRollType = PaymentRollType,
FixingRollType = FixingRollType,
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.38</VersionPrefix>
<VersionPrefix>0.7.39</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.38
0.7.39

0 comments on commit 1c02670

Please sign in to comment.