We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0354db commit a921280Copy full SHA for a921280
src/material.cpp
@@ -640,7 +640,7 @@ void Material::init_bremsstrahlung()
640
// Allocate arrays for TTB data
641
ttb->pdf = xt::zeros<double>({n_e, n_e});
642
ttb->cdf = xt::zeros<double>({n_e, n_e});
643
- ttb->yield = xt::empty<double>({n_e});
+ ttb->yield = xt::zeros<double>({n_e});
644
645
// Allocate temporary arrays
646
xt::xtensor<double, 1> stopping_power_collision({n_e}, 0.0);
0 commit comments