diff --git a/vcg/math/factorial.h b/vcg/math/factorial.h index ed16774e..db9e4bf0 100644 --- a/vcg/math/factorial.h +++ b/vcg/math/factorial.h @@ -269,7 +269,7 @@ template <> struct MAX_FACTORIAL {enum {value = 170};}; template -ScalarType factorial(unsigned i) +ScalarType Factorial(unsigned i) { assert (i <= MAX_FACTORIAL::value ); return factorial_table(i);