Allow legacy a.b(i) syntax for 1d arrays (extend to PointProcess.var[i] and ob.dblarray[i])#2256
Conversation
ramcdougal
left a comment
There was a problem hiding this comment.
The precedent for this was already set with matrices and .x That said, is there any option of deprecating this and displaying a warning for now, converting any uses in ModelDB to [] and then removing in NEURON 10?
|
✔️ 3d8a580 -> Azure artifacts URL |
Codecov Report
@@ Coverage Diff @@
## master #2256 +/- ##
=======================================
Coverage 56.87% 56.87%
=======================================
Files 620 620
Lines 121554 121562 +8
=======================================
+ Hits 69129 69140 +11
+ Misses 52425 52422 -3
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I can't call it an option, but there is certainly a clear place in the code (those fragments that begin with |
|
✔️ faa0abc -> Azure artifacts URL |
extends to what was meant by nrn commit a8362dc
for POINT_PROCESS.var[index] and double x[index]
(not just for Vector)