You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See this PR. The issue is: shallowCopy was kind of needed to have matrices that share storage (think of taking a row, or the transpose of a matrix, without making copies). So I have not accepted the PR yet.
I can probably work arund this with the shallow pragma, but it would take a while... I am no actively using Nim right now, so this kind of language level change is rather disruptive. If you want to start from that PR and ensure that copies are actually shallow, I would be happy to accept it
As someone who has the same problem, an easy solucion is write --gc:refc as option, something like nim c --gc:refc -r main.nim
PD: you can use this command nim c --mm:refc -r main.nim too
All the examples I try give the following error:
neo/dense.nim(90, 14) Error: undeclared identifier: 'shallowCopy'
I am using Nim Compiler Version 1.9.1 .
The text was updated successfully, but these errors were encountered: