Skip to content

Commit 3544eb5

Browse files
Michael Norrisabhinavdangeti
Michael Norris
authored andcommitted
Fix typo in matrix mult (facebookresearch#3607)
Summary: Pull Request resolved: facebookresearch#3607 Github issue: facebookresearch#3026 Reviewed By: mengdilin, junjieqi Differential Revision: D59284732 fbshipit-source-id: a1100c05e7eab40ae90e910364f9ee1db8b1bc55
1 parent 350761e commit 3544eb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

faiss/gpu/utils/MatrixMult-inl.cuh

+2-2
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ void runMatrixMult(
168168
FAISS_ASSERT(c.getSize(0) <= std::numeric_limits<int>::max());
169169
FAISS_ASSERT(c.getSize(1) <= std::numeric_limits<int>::max());
170170

171-
FAISS_ASSERT(a.getSize(0) <= std::numeric_limits<int>::max());
172-
FAISS_ASSERT(a.getSize(1) <= std::numeric_limits<int>::max());
171+
FAISS_ASSERT(b.getSize(0) <= std::numeric_limits<int>::max());
172+
FAISS_ASSERT(b.getSize(1) <= std::numeric_limits<int>::max());
173173

174174
FAISS_ASSERT(a.getSize(0) <= std::numeric_limits<int>::max());
175175
FAISS_ASSERT(a.getSize(1) <= std::numeric_limits<int>::max());

0 commit comments

Comments
 (0)