Skip to content

Commit

Permalink
bugfix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Dec 13, 2024
1 parent 85dca10 commit 660e36d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ _tempdir = mkdir(tempname())
@test all(Float32.(qualities_asc) .=== Float32.(qualities))
@test dims(qualities) == dims(affinity_raster)

qualities[(affinity_raster .> 0) .& isnan.(qualities)] .= 1e-20

g = ConScape.Grid(size(affinity_raster)...,
affinities=affinities,
qualities=qualities
Expand Down

0 comments on commit 660e36d

Please sign in to comment.