mirror of
https://github.com/NGSolve/netgen.git
synced 2025-02-14 14:23:08 +05:00
too much constexpr
This commit is contained in:
parent
1a610b060f
commit
c0080ae62e
@ -482,12 +482,12 @@ namespace ngcore
|
||||
|
||||
namespace netgen
|
||||
{
|
||||
constexpr inline size_t HashValue2 (const netgen::INDEX_2 & ind, size_t mask)
|
||||
inline size_t HashValue2 (const netgen::INDEX_2 & ind, size_t mask)
|
||||
{
|
||||
return HashValue2(IVec<2,netgen::INDEX>(ind[0], ind[1]), mask);
|
||||
}
|
||||
|
||||
constexpr inline size_t HashValue2 (const netgen::INDEX_3 & ind, size_t mask)
|
||||
inline size_t HashValue2 (const netgen::INDEX_3 & ind, size_t mask)
|
||||
{
|
||||
return HashValue2(IVec<3,netgen::INDEX>(ind[0], ind[1], ind[2]), mask);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user