From 9d7593ec76864f2d120d3bd9399c5a11fd5e5530 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Omn=C3=A8s?= Date: Mon, 10 Feb 2025 16:03:40 +0100 Subject: [PATCH] Increase precision for LOLD[CSR] and MRG PRICE[CSR] [ANT-2443] (#2618) See #2613 for 8.8 PR --- .../variable/include/antares/solver/variable/economy/lold.h | 2 +- .../variable/include/antares/solver/variable/economy/loldCsr.h | 2 +- .../variable/include/antares/solver/variable/economy/price.h | 2 +- .../variable/include/antares/solver/variable/economy/priceCSR.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/solver/variable/include/antares/solver/variable/economy/lold.h b/src/solver/variable/include/antares/solver/variable/economy/lold.h index 394cf0adab..ee1f5ab104 100644 --- a/src/solver/variable/include/antares/solver/variable/economy/lold.h +++ b/src/solver/variable/include/antares/solver/variable/economy/lold.h @@ -74,7 +74,7 @@ struct VCardLOLD //! Indentation (GUI) static constexpr uint8_t nodeDepthForGUI = +0; //! Decimal precision - static constexpr uint8_t decimal = 2; + static constexpr uint8_t decimal = 4; //! Number of columns used by the variable (One ResultsType per column) static constexpr int columnCount = 1; //! The Spatial aggregation diff --git a/src/solver/variable/include/antares/solver/variable/economy/loldCsr.h b/src/solver/variable/include/antares/solver/variable/economy/loldCsr.h index c752a90a21..9f242ab583 100644 --- a/src/solver/variable/include/antares/solver/variable/economy/loldCsr.h +++ b/src/solver/variable/include/antares/solver/variable/economy/loldCsr.h @@ -69,7 +69,7 @@ struct VCardLOLD_CSR //! Indentation (GUI) static constexpr uint8_t nodeDepthForGUI = +0; //! Decimal precision - static constexpr uint8_t decimal = 2; + static constexpr uint8_t decimal = 4; //! Number of columns used by the variable (One ResultsType per column) static constexpr int columnCount = 1; //! The Spatial aggregation diff --git a/src/solver/variable/include/antares/solver/variable/economy/price.h b/src/solver/variable/include/antares/solver/variable/economy/price.h index 7ac93069bf..f14c65ee1b 100644 --- a/src/solver/variable/include/antares/solver/variable/economy/price.h +++ b/src/solver/variable/include/antares/solver/variable/economy/price.h @@ -73,7 +73,7 @@ struct VCardPrice //! Indentation (GUI) static constexpr uint8_t nodeDepthForGUI = +0; //! Decimal precision - static constexpr uint8_t decimal = 2; + static constexpr uint8_t decimal = 4; //! Number of columns used by the variable (One ResultsType per column) static constexpr int columnCount = 1; //! The Spatial aggregation diff --git a/src/solver/variable/include/antares/solver/variable/economy/priceCSR.h b/src/solver/variable/include/antares/solver/variable/economy/priceCSR.h index d5209b6171..c720b17fec 100644 --- a/src/solver/variable/include/antares/solver/variable/economy/priceCSR.h +++ b/src/solver/variable/include/antares/solver/variable/economy/priceCSR.h @@ -74,7 +74,7 @@ struct VCardPriceCSR //! Indentation (GUI) static constexpr uint8_t nodeDepthForGUI = +0; //! Decimal precision - static constexpr uint8_t decimal = 2; + static constexpr uint8_t decimal = 4; //! Number of columns used by the variable (One ResultsType per column) static constexpr int columnCount = 1; //! The Spatial aggregation