Fix "Integer divide by zero 0"  in Spline.cpp
Merge pull request #5182 from sum2012/patch-2

Fix "Integer divide by zero"  in Spline.cpp