fix a compiler warning. the function should always return non-void value.
Merge pull request #202 from norihiro-w/fix-warning-guass-quadrature

Fix a compiler warning after merging GaussLedgendre