diff --git a/bindings/python/include/svs/python/manager.h b/bindings/python/include/svs/python/manager.h index b56101fa..3583c683 100644 --- a/bindings/python/include/svs/python/manager.h +++ b/bindings/python/include/svs/python/manager.h @@ -119,7 +119,9 @@ reconstruct(Index& index, py_contiguous_array_t ids) { auto destination = py_contiguous_array_t({num_ids, data_dims}); index.reconstruct_at( mutable_data_view(destination), - std::span(ids.template mutable_unchecked().mutable_data(), num_ids) + std::span( + ids.template mutable_unchecked<-1>().mutable_data(), num_ids + ) ); // Reshape the destination to have the same shape as the original IDs (plus the extra diff --git a/bindings/python/microarch.py b/bindings/python/microarch.py index 913e31c4..99a4ae36 100644 --- a/bindings/python/microarch.py +++ b/bindings/python/microarch.py @@ -85,6 +85,7 @@ def resolve_compiler(name: str): aliases = { "GNU": "gcc", "Clang": "clang", + "IntelLLVM": "oneapi", } return aliases.get(name, name)