Commit 3743f8e3 authored by Thibault Hallouin's avatar Thibault Hallouin
Browse files

replace `nansum` with `sum` to avoid MSVC problem

1 merge request!3release v0.1.0
Pipeline #43636 passed with stage
in 3 minutes and 11 seconds
Showing with 1 addition and 1 deletion
+1 -1
...@@ -170,7 +170,7 @@ namespace evalhyd ...@@ -170,7 +170,7 @@ namespace evalhyd
// compute the observed relative frequency // compute the observed relative frequency
// $o_j = \sum_{k \in M_j} r_k$ // $o_j = \sum_{k \in M_j} r_k$
xt::view(o_j, xt::all(), xt::all(), m, e, j) = xt::view(o_j, xt::all(), xt::all(), m, e, j) =
xt::nansum( xt::sum(
xt::equal(r_k_masked_sampled, j), xt::equal(r_k_masked_sampled, j),
-1 -1
); );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment