Skip to content

Commit

Permalink
Cleanup type annotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
orenbenkiki committed May 29, 2024
1 parent c7bd5f0 commit 9c0e7e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/v0.1.0/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.0","generation_timestamp":"2024-05-29T08:13:16","documenter_version":"1.4.1"}}
{"documenter":{"julia_version":"1.10.0","generation_timestamp":"2024-05-29T08:46:53","documenter_version":"1.4.1"}}
4 changes: 2 additions & 2 deletions src/operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 9c0e7e1

Please sign in to comment.