From c1d6b9b41b22b78402285f8d5839a53a5435e32e Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sat, 12 Feb 2022 23:27:02 -0800 Subject: [PATCH] Added comment [skip ci] --- src/ivfkmeans.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ivfkmeans.c b/src/ivfkmeans.c index 3ae7b2c..d32f071 100644 --- a/src/ivfkmeans.c +++ b/src/ivfkmeans.c @@ -282,6 +282,7 @@ MiniBatchKmeans(IvfflatBuildState * buildstate) for (i = 0; i < t; i++) { + /* Can take a while, so ensure we can interrupt */ CHECK_FOR_INTERRUPTS(); /* Reset samples */