Skip to content

Commit

Permalink
add missing IC conjugate
Browse files Browse the repository at this point in the history
  • Loading branch information
upsj committed Jul 16, 2021
1 parent e595929 commit 2452e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/factorization/ic_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void compute(std::shared_ptr<const DefaultExecutor> exec,
}
// ignore l(col, col)
if (l_col == lh_row && l_col < col) {
sum += values[l_idx] * values[lh_idx];
sum += values[l_idx] * conj(values[lh_idx]);
}
l_idx += l_col <= lh_row ? 1 : 0;
lh_idx += lh_row <= l_col ? 1 : 0;
Expand Down

0 comments on commit 2452e19

Please sign in to comment.