Skip to content

Commit 0e7a4e6

Browse files
committed
GetLastSetting: Pass settingCol into GetLastSettingNoCache
This then takes the fast path as we don't need to determine it again.
1 parent 7b7dab2 commit 0e7a4e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Packages/MIES/MIES_MiesUtilities_Logbook.ipf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -625,8 +625,8 @@ threadsafe Function/WAVE GetLastSetting(WAVE values, variable sweepNo, string se
625625
first = rowCache[sweepNo][%first][entrySourceTypeIndex]
626626
last = rowCache[sweepNo][%last][entrySourceTypeIndex]
627627

628-
WAVE/Z settings = GetLastSettingNoCache(values, sweepNo, setting, entrySourceType, \
629-
first = first, last = last, rowIndex = rowIndex)
628+
WAVE/Z settings = GetLastSettingNoCache(values, sweepNo, setting, entrySourceType, \
629+
first = first, last = last, rowIndex = rowIndex, settingCol = settingCol)
630630

631631
if(WaveExists(settings))
632632
ASSERT_TS(first >= 0 && last >= 0 && rowIndex >= 0, "invalid return combination from GetLastSettingNoCache")

0 commit comments

Comments
 (0)