When I install from source, I get the following warning
[ 22%] Building CXX object core/CMakeFiles/cadabra2.dir/Adjform.cc.o
/home/guowei/cadabra2/core/Adjform.cc: In member function ‘uint64_t cadabra::Adjform::to_lehmer_code() const’:
/home/guowei/cadabra2/core/Adjform.cc:230:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (counts.size() <= perm[i])
/home/guowei/cadabra2/core/Adjform.cc:255:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (elem > i)
~~~~~^~~
/home/guowei/cadabra2/core/Adjform.cc:266:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t j = 0; j < perm[i]; ++j) {
/home/guowei/cadabra2/core/Adjform.cc: In member function ‘std::__cxx11::string cadabra::Adjform::to_string() const’:
/home/guowei/cadabra2/core/Adjform.cc:297:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if (data[i] > i) {
/home/guowei/cadabra2/core/Adjform.cc: In member function ‘void cadabra::AdjformEx::apply_young_symmetry(const std::vector<long unsigned int>&, bool)’:
/home/guowei/cadabra2/core/Adjform.cc:575:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (loc >= 0 && loc < values.size() && values[loc] < rk) {
~~~~^~~~~~~~~~~~~~~
/home/guowei/cadabra2/core/Adjform.cc:593:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = r + 1; i < directions.size(); ++i)
~~^~~~~~~~~~~~~~~~~~~
Is it possible to have a relation to the problem?