cyclops-community / ctf

Cyclops Tensor Framework: parallel arithmetic on multidimensional arrays
Other
201 stars 54 forks source link

make comparison function for sets of tensor pointers const #141

Closed raghavendrak closed 2 years ago

raghavendrak commented 2 years ago

Some versions of the compiler flag this as error: error: static assertion failed: comparison object must be invocable as const #131

susilehtola commented 2 years ago

Solves the compile problem on my machine

$ gcc --version
gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
TiborGY commented 2 years ago

If there are no concerns regarding this PR, could it be merged please? It is blocking Aquarius builds.