JuliaDB.jl icon indicating copy to clipboard operation
JuliaDB.jl copied to clipboard

map(f,::DNDSparse) fix for changing value type

Open gkappler opened this issue 5 years ago • 1 comments
trafficstars

fixes failing

filter(isodd, map(v->v.a+1,ndsparse((numid=1:10,), (a=1:10,b=1:10); chunks=2)))

gkappler avatar Dec 10 '19 16:12 gkappler

promote_type seemed overkill at first to me; yet it might be required in corner cases.

gkappler avatar Dec 10 '19 16:12 gkappler