Skip to content

Commit

Permalink
Use vectorized numpy.dot() call
Browse files Browse the repository at this point in the history
  • Loading branch information
smokestacklightnin committed Nov 11, 2023
1 parent 11896f1 commit 39e0fe5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def calc_alan_entries(
gamma,
)

return np.sum(phis * alphas_at_depth_point)
return phis @ alphas_at_depth_point


def calc_alphas(
Expand Down

0 comments on commit 39e0fe5

Please sign in to comment.