[FIX] replace finite by isfinite if available
Merge branch 'hotfix/remove-warnings' into develop