Skip to content

Commit

Permalink
Fixed if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
mollybsmith-noaa committed Nov 28, 2023
1 parent c8e3514 commit db7b408
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,11 @@ const getDataForDiffContour = function (
switch (sigType) {
case "95th percentile -- bootstrapping (SKILL SCORES ONLY)":
case "significance at 95th percentile":
if (minuendIsCTC && subtrahendIsCTC) {
if (
minuendIsCTC &&
subtrahendIsCTC &&
minuendStatistic === subtrahendStatistic
) {
isDiffSignificant = matsDataUtils.checkDiffContourSignificanceCTC(
diffValue,
minuendData.subHit[minuendYIndex][minuendXIndex],
Expand Down

0 comments on commit db7b408

Please sign in to comment.