Skip to content

Commit f0df15b

Browse files
authored
Apply suggestions from code review
1 parent 2453d1c commit f0df15b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/estimate.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,9 @@ void check_ibf(estimate_ibf_arguments const & args,
126126
}
127127

128128
// Apply normalization if requested
129+
// TODO: Is this meant to be expressions[0]?
129130
if constexpr (normalization && multiple_expressions)
130-
estimations[experiment] /= expressions[0][experiment]; // Normalize by first level
131+
estimations[experiment] /= expressions[1][experiment]; // Normalize by first level
131132

132133
break; // Found the estimate for this experiment
133134
}

0 commit comments

Comments
 (0)