Registered Member
|
Currently, DynamicSparseMatrix allows us to write to a coefficient outside the range, and leads to an unhelpful error later.
eg:
This leads to an error in the cout statement. Now, either A should reject the assignment, or change its dimension. The former would be better than the latter, I think. |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]