Skip to content

Commit d1a5155

Browse files
ahuber21rfsaliev
authored andcommitted
fix is_supported_storage_kind() implementation
1 parent 295134a commit d1a5155

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bindings/cpp/src/svs_runtime_utils.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,10 @@ auto make_storage(Tag&& SVS_UNUSED(tag), Args&&... args) {
239239
}
240240

241241
inline bool is_supported_storage_kind(StorageKind kind) {
242-
return svs::detail::lvq_leanvec_enabled();
242+
if (is_lvq_storage(kind) || is_leanvec_storage(kind)) {
243+
return svs::detail::lvq_leanvec_enabled();
244+
}
245+
return true;
243246
}
244247

245248
template <typename F, typename... Args>

0 commit comments

Comments
 (0)