From 5ea165848cbe59741d9c6e571713f402dce94a2c Mon Sep 17 00:00:00 2001 From: asistradition Date: Fri, 18 Oct 2024 12:45:07 -0400 Subject: [PATCH] Increase year range for the hacky windows mkl_rt LoadLibrary search --- sparse_dot_mkl/_mkl_interface/_load_library.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sparse_dot_mkl/_mkl_interface/_load_library.py b/sparse_dot_mkl/_mkl_interface/_load_library.py index 21c11cd..4e1db95 100644 --- a/sparse_dot_mkl/_mkl_interface/_load_library.py +++ b/sparse_dot_mkl/_mkl_interface/_load_library.py @@ -14,9 +14,9 @@ def _try_load_mkl_rt(path=None): "libmkl_rt.dylib", "mkl_rt.dll" ] + [ - f"mkl_rt.{i}.dll" for i in range(5, 0, -1) + f"mkl_rt.{i}.dll" for i in range(8, 0, -1) ] + [ - f"libmkl_rt.so.{i}" for i in range(5, 0, -1) + f"libmkl_rt.so.{i}" for i in range(8, 0, -1) ]: try: # If this finds anything, break out of the loop