We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ae7860 commit 2a72b0eCopy full SHA for 2a72b0e
1 file changed
Mathematical Functions/Combinatorics/genAllTuples.m
@@ -26,7 +26,7 @@
26
end
27
28
N=length(maxVals);
29
-tupleCount=numTuples(maxVals);
+tupleCount=prod(maxVals+1);
30
theTuples=zeros(N,tupleCount);
31
theTuples(:,1)=getNextTuple(N);
32
for k=2:tupleCount
0 commit comments