We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f972c2 commit 2e6f0a4Copy full SHA for 2e6f0a4
src/hypercube.h
@@ -113,7 +113,7 @@ class CubeSignature {
113
if (i>=lsize(v)) continue; // sanity check
114
115
// increment current index, set all the ones after it to zero
116
- if (v[i] < getDim(i)-1) {
+ if (long(v[i]) < getDim(i)-1) {
117
v[i]++;
118
for (long j=i+1; j<lsize(v); j++) v[j] = 0;
119
return true; // succeeded in incrementing the vector
0 commit comments