From 782f40197b9d89a31d6d9d6bae79d2b488f0fd77 Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Thu, 3 Oct 2024 12:10:39 -0400 Subject: [PATCH] chore: apply suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- src/public.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/public.jl b/src/public.jl index 02fb8f8..168e2cf 100644 --- a/src/public.jl +++ b/src/public.jl @@ -188,9 +188,9 @@ Return a `XLADevice` object. This is an experimental feature and might change without deprecations """ function xla_device() - @assert loaded(XLADevice) && functional(XLADevice) "`XLADevice` is not loaded or not \ - functional. Load `Reactant.jl` \ - before calling this function." + @assert loaded(XLADevice)&&functional(XLADevice) "`XLADevice` is not loaded or not \ + functional. Load `Reactant.jl` \ + before calling this function." return XLADevice() end