From 375941de460d094918e12f1b939a214be1cecd07 Mon Sep 17 00:00:00 2001 From: jumerckx <31353884+jumerckx@users.noreply.github.com> Date: Mon, 22 Jul 2024 17:11:32 +0200 Subject: [PATCH] Update Value.jl --- src/IR/Value.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/IR/Value.jl b/src/IR/Value.jl index f4d3da07..6538447c 100644 --- a/src/IR/Value.jl +++ b/src/IR/Value.jl @@ -8,8 +8,8 @@ struct Value end Base.convert(::Core.Type{API.MlirValue}, value::Value) = value.value -Base.size(value::Value) = Base.size(Type(value)) -Base.ndims(value::Value) = Base.ndims(Type(value)) +Base.size(value::Value) = Base.size(type(value)) +Base.ndims(value::Value) = Base.ndims(type(value)) """ ==(value1, value2)