Skip to content

Commit fbc8347

Browse files
committed
decrease abs_eps and rel_eps in gsl_integration_qag
1 parent 60ae7d4 commit fbc8347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model/PkPd/Drug/LSTMDrugThreeComp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ double LSTMDrugThreeComp::calculateFactor(const Params_fC& p, double duration) c
134134
F.params = static_cast<void*>(const_cast<Params_fC*>(&p));
135135

136136
// NOTE: tolerances are arbitrary, but seem to be sufficient
137-
const double abs_eps = 1e-2, rel_eps = 1e-2;
137+
const double abs_eps = 1e-4, rel_eps = 1e-4;
138138
// NOTE: 1 through 6 are different algorithms of increasing complexity
139139
const int qag_rule = 1; // alg 1 seems to be good enough
140140
double intfC, err_eps;

0 commit comments

Comments
 (0)