Skip to content

Commit 525dd60

Browse files
author
Vincent Landau
committed
set missingval to 0 for vertex_rasters
1 parent 2239a83 commit 525dd60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rastergraphs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function make_vertex_raster(A::Raster)
1919

2020
nodemap[is_node] = 1:sum(is_node)
2121

22-
nodemap = Raster(nodemap, dims(A))
22+
nodemap = Raster(nodemap, dims(A), missingval = 0)
2323

2424
nodemap
2525
end

0 commit comments

Comments
 (0)