From 3e885f583a1c8efe413256fe9b907cb6eacc5ecd Mon Sep 17 00:00:00 2001 From: Joona Havukainen Date: Mon, 7 Jul 2025 18:25:57 -0700 Subject: [PATCH] Cleanup using namespace alias --- benchmarks/cpp/single_ops.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/cpp/single_ops.cpp b/benchmarks/cpp/single_ops.cpp index a5176e432..6eac366bc 100644 --- a/benchmarks/cpp/single_ops.cpp +++ b/benchmarks/cpp/single_ops.cpp @@ -193,8 +193,8 @@ void time_reductions() { auto argmin_along_1 = [&a]() { return mx::argmin(a, 1, false); }; TIME(argmin_along_1); - auto indices = mlx::core::array({1}); - auto updates = mlx::core::reshape(mlx::core::array({NAN}), {1, 1, 1}); + auto indices = mx::array({1}); + auto updates = mx::reshape(mx::array({NAN}), {1, 1, 1}); std::vector axes{0}; auto b = scatter(a, {indices}, updates, axes); mx::eval(b);