From 1c58c45f87f6ce89a8d8dfcf71b238f401e8e2f1 Mon Sep 17 00:00:00 2001 From: Nicholas Petrocelli Date: Fri, 15 Mar 2024 13:21:00 -0400 Subject: [PATCH] fix looping through pivots in checkPivots --- src/dev/bi.cls | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dev/bi.cls b/src/dev/bi.cls index 589b3d8..83aa5a4 100644 --- a/src/dev/bi.cls +++ b/src/dev/bi.cls @@ -96,12 +96,13 @@ ClassMethod checkPivots(stopOnError As %Boolean = 0) As %Status set countOfPivots = countOfPivots + 1 set:$$$ISERR(sc) countOfErrors = countOfErrors + 1 quit:$$$ISERR(sc)&&stopOnError - set key = $order(listOfPivots(key)) // sometimes errors is empty if errors '= "" { set errorList = errorList _ $lb(errors, key) - } + } + + set key = $order(listOfPivots(key)) } // going through list with pivots and errors w !, "Pivot errors and pivots summary"