Skip to content
Snippets Groups Projects
Commit ee9db7a5 authored by Timo Koch's avatar Timo Koch
Browse files

[math] Use integer type in Factorial and deprecate struct version (use factorial function)

Using an enum has the side effect that you can't do arithmetic without explicitly casting to an integer type.
This also produced a compiler warning with clang 10 "arithmetic between different enumeration types is deprecated"
-Wdeprecated-anon-enum-enum-conversion
parent a1e068a4
Branches
Tags
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment