Capital f in Factorial
This commit is contained in:
parent
a152d0e208
commit
45ed8cb000
|
@ -269,7 +269,7 @@ template <> struct MAX_FACTORIAL<long double> {enum {value = 170};};
|
||||||
|
|
||||||
|
|
||||||
template <typename ScalarType>
|
template <typename ScalarType>
|
||||||
ScalarType factorial(unsigned i)
|
ScalarType Factorial(unsigned i)
|
||||||
{
|
{
|
||||||
assert (i <= MAX_FACTORIAL<ScalarType>::value );
|
assert (i <= MAX_FACTORIAL<ScalarType>::value );
|
||||||
return factorial_table<ScalarType>(i);
|
return factorial_table<ScalarType>(i);
|
||||||
|
|
Loading…
Reference in New Issue