Skip to content

Commit

Permalink
Formatter
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
DaanMaertens and github-actions[bot] authored Nov 30, 2023
1 parent 864dfd2 commit 2024f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operators/lazysum.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Base.getindex(x::LazySum, i) = x.ops[i]
#iteration and summation gets automatically implementend thanks to subtyping

Base.length(x::LazySum) = prod(size(x))
Base.similar(x::LazySum, ::Type{S}, dims::Dims) where S = LazySum(similar(x.ops, S, dims))
Base.similar(x::LazySum, ::Type{S}, dims::Dims) where {S} = LazySum(similar(x.ops, S, dims))

# Holy traits
struct TimeDependent end
Expand Down

0 comments on commit 2024f23

Please sign in to comment.