Skip to content
Snippets Groups Projects
Commit 825f70ca authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Merge branch 'fix-gcc-13-on-i386' into 'master'

fix: use values that are representable as double in test

See merge request !1327
parents 140e6aa1 f61fb0db
No related branches found
No related tags found
1 merge request!1327fix: use values that are representable as double in test
Pipeline #67055 passed
Pipeline: Dune Nightly Test

#67058

    ......@@ -263,8 +263,8 @@ int main()
    // Compile time checks
    static_assert(sum(values) == (30*29)/2, "Wrong compile time sum!");
    constexpr auto numberTupleConstexpr = Dune::makeTupleVector(0.1, 2, 3);
    static_assert(sum(numberTupleConstexpr) == 5.1, "Wrong compile time sum!");
    constexpr auto numberTupleConstexpr = Dune::makeTupleVector(0.25, 2, 3);
    static_assert(sum(numberTupleConstexpr) == 5.25, "Wrong compile time sum!");
    return test.exit();
    }
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment