From 4ad169dee05d2af5a7008c6b774913cff8d6a332 Mon Sep 17 00:00:00 2001 From: "joaquin.f.fernandez" Date: Tue, 27 Aug 2024 12:23:39 -0300 Subject: [PATCH] Fix quantizer macros. --- src/engine/qss/qss_quantizer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/engine/qss/qss_quantizer.h b/src/engine/qss/qss_quantizer.h index 0ec611e7..582d95f4 100644 --- a/src/engine/qss/qss_quantizer.h +++ b/src/engine/qss/qss_quantizer.h @@ -29,7 +29,9 @@ quantizer->ops->updateQuantizedState = module##_updateQuantizedState; #ifdef QSS_PARALLEL -#define QSS_ASSIGN_QUANTIZER_OPS(module) QSS_DEFINE_QUANTIZER_OPS(module##_PAR) +#define QSS_ASSIGN_QUANTIZER_OPS(module) \ + quantizer->state->qMap = simData->lp->qMap; \ + QSS_DEFINE_QUANTIZER_OPS(module##_PAR) #else #define QSS_ASSIGN_QUANTIZER_OPS(module) QSS_DEFINE_QUANTIZER_OPS(module) #endif