From 6493a56ee1223c7d03b44db8f6047b3e78ec4e85 Mon Sep 17 00:00:00 2001 From: Gavin Brennan Date: Tue, 4 Jun 2024 10:56:28 +0100 Subject: [PATCH] Fix for null fields in ExpectedExercise calc result cube --- src/Qwack.Models/MCModels/AssetFxMCModel.cs | 2 +- version.props | 3 +-- version.txt | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Qwack.Models/MCModels/AssetFxMCModel.cs b/src/Qwack.Models/MCModels/AssetFxMCModel.cs index 0dad2b11..d5f4d2f5 100644 --- a/src/Qwack.Models/MCModels/AssetFxMCModel.cs +++ b/src/Qwack.Models/MCModels/AssetFxMCModel.cs @@ -807,7 +807,6 @@ public ICube ExpectedExercise() { "PeriodStart", typeof(DateTime) }, { "PeriodEnd", typeof(string) }, { Metric, typeof(string) }, - { "RefPrice", typeof(double) }, { Consts.Cubes.Portfolio, typeof(string) }, }; @@ -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]); } } diff --git a/version.props b/version.props index 44f52c87..14e7e506 100644 --- a/version.props +++ b/version.props @@ -1,5 +1,4 @@ - 0.8.2 - + 0.8.21 diff --git a/version.txt b/version.txt index 100435be..9f75b28c 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.8.2 +0.8.21