I’m working through ch03 on the Dijkstra algorithm. I’m getting:
undefined method `+' for nil:NilClass (NoMethodError)
distances[linked] = distances[cell] + 1
I’ve double-checked my code against the downloaded source code, and I can’t see any difference. Any ideas why
distances[cell] is nil here?