Skip to content

Commit 2a72b0e

Browse files
committed
Bug fix.
1 parent 5ae7860 commit 2a72b0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mathematical Functions/Combinatorics/genAllTuples.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
end
2727

2828
N=length(maxVals);
29-
tupleCount=numTuples(maxVals);
29+
tupleCount=prod(maxVals+1);
3030
theTuples=zeros(N,tupleCount);
3131
theTuples(:,1)=getNextTuple(N);
3232
for k=2:tupleCount

0 commit comments

Comments
 (0)