Commit 81692118 authored by Thibault Hallouin's avatar Thibault Hallouin
Browse files

replace enable_if in template for rank check by `xt::get_rank`

GNU GCC was complaining about a missing type definition ("no type name
'type' in 'struct::enable_if<false, int>'") for the false case
(as explained here https://stackoverflow.com/a/12625334). So given that
there are two/three false conditions for `evald`/`evalp`, it seemed
better to drop these rank checks from the templates, and use the
function `xt::get_rank` instead.
parent c9aa2c38
Pipeline #42877 passed with stage
in 2 minutes and 7 seconds
Showing with 36 additions and 9 deletions
+36 -9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment