Skip to content

Commit

Permalink
fix(regression): fix eucl metric in case of thresholded metric
Browse files Browse the repository at this point in the history
  • Loading branch information
fantes authored and mergify[bot] committed Jan 12, 2023
1 parent e0b9176 commit a006615
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/supervisedoutputconnector.h
Original file line number Diff line number Diff line change
Expand Up @@ -2632,7 +2632,12 @@ namespace dd
else
leucl += diff * diff;
if (compute_all_distl)
all_eucl[j] += diff;
{
if (l1)
all_eucl[j] += diff;
else
all_eucl[j] += diff * diff;
}
}
}
else
Expand Down

0 comments on commit a006615

Please sign in to comment.