VEZY / MultiScaleTreeGraph.jl

Read, analyse, compute, write and convert MTG files
https://vezy.github.io/MultiScaleTreeGraph.jl/stable
MIT License
10 stars 1 forks source link

Error using `scales` #58

Closed VEZY closed 7 months ago

VEZY commented 7 months ago

When we use scaleson an mtg, we get the following error:

ERROR: MethodError: no method matching iterate(::Nothing)

This is because we traverse the mtg with the mutating version (traverse!), but pipe the returned value into unique. We shouldn't pipe the value because this version doesn't return anything (or more precisely, it returns nothing).