poincare: Prevent scipy from seeing inf and dying