BUG: revert change to conf_int in PR #1819
Merge pull request #1820 from josef-pkt/fix_confint

BUG: revert change to conf_int in PR #1819