From 20de66ffa640041e7a5aec582738a593840ca43e Mon Sep 17 00:00:00 2001 From: "Christopher J. Hazard, PhD" <143410553+howsohazard@users.noreply.github.com> Date: Wed, 11 Dec 2024 17:11:58 -0500 Subject: [PATCH] 22397: Fixes issue with counting nominal values --- src/Amalgam/SBFDSColumnData.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Amalgam/SBFDSColumnData.h b/src/Amalgam/SBFDSColumnData.h index 2b36904a..793fe894 100644 --- a/src/Amalgam/SBFDSColumnData.h +++ b/src/Amalgam/SBFDSColumnData.h @@ -693,12 +693,12 @@ class SBFDSColumnData inline size_t GetNumUniqueValues(EvaluableNodeImmediateValueType value_type = ENIVT_NULL) { if(value_type == ENIVT_NUMBER) - return numberIndices.size(); + return sortedNumberValueEntries.size(); if(value_type == ENIVT_STRING_ID) - return stringIdIndices.size(); + return stringIdValueEntries.size(); - return numberIndices.size() + stringIdIndices.size() + codeIndices.size(); + return sortedNumberValueEntries.size() + stringIdIndices.size(); } //returns the maximum difference between value and any other value for this column