Skip to content

Commit

Permalink
Fix for null fields in ExpectedExercise calc result cube
Browse files Browse the repository at this point in the history
  • Loading branch information
gavbrennan committed Jun 4, 2024
1 parent 2a94947 commit 6493a56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Qwack.Models/MCModels/AssetFxMCModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,6 @@ public ICube ExpectedExercise()
{ "PeriodStart", typeof(DateTime) },
{ "PeriodEnd", typeof(string) },
{ Metric, typeof(string) },
{ "RefPrice", typeof(double) },
{ Consts.Cubes.Portfolio, typeof(string) },
};

Expand All @@ -832,6 +831,7 @@ public ICube ExpectedExercise()
{ "PeriodStart", bpo.PeriodDates[i].Item1 },
{ "PeriodEnd", bpo.PeriodDates[i].Item2 },
{ Metric, "ExpectedExercise" },
{ Consts.Cubes.Portfolio, string.Empty },
}, expectedEx[i]);
}
}
Expand Down
3 changes: 1 addition & 2 deletions version.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<Project>
<PropertyGroup>
<VersionPrefix>0.8.2</VersionPrefix>
</PropertyGroup>
<VersionPrefix>0.8.21
</Project>
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.2
0.8.21

0 comments on commit 6493a56

Please sign in to comment.