Skip to content

Commit f177c40

Browse files
authored
MOD-14661 Disable SVS bounds checking (#924)
disable bounds check in svs
1 parent e060044 commit f177c40

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmake/svs.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ if(USE_SVS)
8888
# This file is included from both CMakeLists.txt and python_bindings/CMakeLists.txt
8989
# Set `root` relative to this file, regardless of where it is included from.
9090
get_filename_component(root ${CMAKE_CURRENT_LIST_DIR}/.. ABSOLUTE)
91+
set(SVS_EXPERIMENTAL_CHECK_BOUNDS OFF CACHE BOOL "Disable SVS bounds checking" FORCE)
9192
add_subdirectory(
9293
${root}/deps/ScalableVectorSearch
9394
deps/ScalableVectorSearch

0 commit comments

Comments
 (0)