Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/hydro_source_TATB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,8 @@ double HydroSourceTATB::eta_rhob_right_factor(const double eta) const {
double sigma_B_minus = DATA_.eta_rhob_width_2;

// double norm = 1./(sqrt(M_PI)*tau_source*sigma_B_plus);
double exp_arg_1 = (eta + eta_0_nB) / sigma_B_plus;
double exp_arg_2 = (eta + eta_0_nB) / sigma_B_minus;
double exp_arg_1 = (eta + eta_0_nB) / sigma_B_minus;
double exp_arg_2 = (eta + eta_0_nB) / sigma_B_plus;

double res =
Util::theta(eta + eta_0_nB) * std::exp(-exp_arg_1 * exp_arg_1 / 2.)
Expand Down
Loading