CliMA / LazyBroadcast.jl

A package for constructing Broadcasted objects from broadcast expressions
Apache License 2.0
3 stars 1 forks source link

Fix edge cases #8

Closed charleskawczynski closed 1 month ago

charleskawczynski commented 2 months ago

These edge cases are missing:

    bc = LB.@lazy @. state
    a, b = [1], [2]
    LB.@lazy a .= b
    expr = LB.lazy_broadcasted(:(out .= x .+ foo(y) .+ bar.(z)))
    @test expr isa Expr