Skip to content

Commit 6a090e7

Browse files
committed
fix(tests): use correct ScalarType namespace
Change from executorch::runtime::ScalarType to executorch::aten::ScalarType to fix compilation errors in TensorHelpersTest.
1 parent 416415b commit 6a090e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native-executorch/common/rnexecutorch/tests/unit/TensorHelpersTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
#include <vector>
77

88
using namespace rnexecutorch::utils::tensor;
9+
using executorch::aten::ScalarType;
910
using executorch::extension::make_tensor_ptr;
1011
using executorch::runtime::EValue;
11-
using executorch::runtime::ScalarType;
1212

1313
// ============================================================================
1414
// toSpan<T>(Tensor) — Convert tensor to typed span

0 commit comments

Comments
 (0)