-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
When I make a nested broadcast with YAXArrays I get now the following error after the switch to xmap.
This comes from the line
@time savecube(Int8.(miss2zero.(europeras)), "data/europe_2020_nan_chunkfillarray.zarr", fill_value=Int8(0), overwrite=true)
I haven't searched for a proper minimal example yet.
ERROR: MethodError: no method matching XFunction(::Type{Int8}; inplace::Bool)
The type `XFunction` exists, but no method is defined for this combination of argument types when trying to construct it.
Closest candidates are:
XFunction(::F, ::O, ::I, ::Bool) where {F, O, I} got unsupported keyword argument "inplace"
@ YAXArrays /mnt/felix1/worldmap/dev/YAXArrays/src/DAT/xmap.jl:313
XFunction(::XFunction; kwargs...)
@ YAXArrays /mnt/felix1/worldmap/dev/YAXArrays/src/DAT/xmap.jl:347
XFunction(::Function; outputs, inputs, inplace)
@ YAXArrays /mnt/felix1/worldmap/dev/YAXArrays/src/DAT/xmap.jl:344
Stacktrace:
[1] broadcasted(::YAXArrays.Xmap.XStyle, f::Type, args::YAXArray{…})
@ YAXArrays.Xmap /mnt/felix1/worldmap/dev/YAXArrays/src/DAT/broadcast.jl:10
[2] broadcasted(::Type{Int8}, ::YAXArray{Union{…}, 2, DiskArrayEngine.GMWOPResult{…}, Tuple{…
}, Dict{…}})
@ Base.Broadcast ./broadcast.jl:1325
[3] macro expansion
@ ./timing.jl:581 [inlined]
[4] top-level scope
@ ./REPL[50]:1
Some type information was truncated. Use `show(err)` to see complete types.
```
Metadata
Metadata
Assignees
Labels
No labels