If the foreach loop is replaced by:
foreach(ref node_ref; np)
Then it works like a charm!

Reply via email to