Skip to content

Commit

Permalink
PS_DS_AD9: Fix it
Browse files Browse the repository at this point in the history
This test uses PSQ_TEST_VERY_LARGE_FREQUENCY to use a frequency which
results in a very large fit slope. The update of the JSON XOP extended the
range of valid values, so we also need to use a larger value here.

The removed finite check in CheckRangeOfUserLabnotebookKeys is unfortunate
but should not be a problem.
  • Loading branch information
t-b committed Sep 6, 2024
1 parent 5064161 commit ce026fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Packages/tests/UTF_Constants.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ StrConstant ZSTD_SUFFIX = ".zst"

Constant TP_DURATION_S = 5

Constant PSQ_TEST_VERY_LARGE_FREQUENCY = 1e300
Constant PSQ_TEST_VERY_LARGE_FREQUENCY = 1e350
2 changes: 0 additions & 2 deletions Packages/tests/UTF_HardwareHelperFunctions.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -772,8 +772,6 @@ static Function CheckRangeOfUserLabnotebookKeys(string device, variable type, va
endif
endif

CHECK(IsFinite(value))

INFO("sweepNo=%g, entry=%s, unit=%s\r", n0 = sweepNo, s0 = entry, s1 = unit)

// do a coarse range check
Expand Down

0 comments on commit ce026fa

Please sign in to comment.