From 9c0e7e1260cf1d4acfaa78dbe2253ae940855f55 Mon Sep 17 00:00:00 2001 From: Oren Ben-Kiki Date: Wed, 29 May 2024 08:47:04 +0300 Subject: [PATCH] Cleanup type annotations. --- docs/v0.1.0/.documenter-siteinfo.json | 2 +- src/operations.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/v0.1.0/.documenter-siteinfo.json b/docs/v0.1.0/.documenter-siteinfo.json index edc8578..6976f2f 100644 --- a/docs/v0.1.0/.documenter-siteinfo.json +++ b/docs/v0.1.0/.documenter-siteinfo.json @@ -1 +1 @@ -{"documenter":{"julia_version":"1.10.0","generation_timestamp":"2024-05-29T08:13:16","documenter_version":"1.4.1"}} \ No newline at end of file +{"documenter":{"julia_version":"1.10.0","generation_timestamp":"2024-05-29T08:46:53","documenter_version":"1.4.1"}} \ No newline at end of file diff --git a/src/operations.jl b/src/operations.jl index 38a048d..7b2a7b3 100644 --- a/src/operations.jl +++ b/src/operations.jl @@ -835,7 +835,7 @@ end @query_operation Count function Count(; dtype::Maybe{Type} = nothing)::Count - @assert dtype === nothing || dtype <: Real + @assert dtype === nothing || dtype <: AbstractFloat return Count(dtype) end @@ -910,7 +910,7 @@ end @query_operation Sum function Sum(; dtype::Maybe{Type} = nothing)::Sum - @assert dtype === nothing || dtype <: Real + @assert dtype === nothing || dtype <: AbstractFloat return Sum(dtype) end