Remove debug printf()

This commit is contained in:
Joakim Hove 2019-06-26 07:47:06 +02:00
parent b116eda8bc
commit cd43bb7a5f

View File

@ -109,12 +109,10 @@ double prod_wpr_P4(const EclipseState& es, const Schedule& /* sched */, const S
}
printf("report_step:%ld Has FUINJ: %d \n", report_step, st.has("FUINJ"));
double inj_wir_INJ(const EclipseState& , const Schedule& sched, const SummaryState& st, const data::Solution& /* sol */, size_t report_step, double /* seconds_elapsed */) {
if (st.has("FUINJ")) {
const auto& well = sched.getWell2("INJ", report_step);
const auto controls = well.injectionControls(st);
printf("st[FUINJ] = %lg \n", st.get("FUINJ"));
return controls.surface_rate;
} else
return -99;