bugfixes in vec mat smat - mainly missing copyonwrite()s

This commit is contained in:
jiri committed 2026-10-26 15:11:45 +01:00
1 parent eccb3a68f8
commit f7ef134fc5
5 files changed
+31 -10

No files matched your search

+1
View File
@@ -291,6 +291,7 @@ public:
void columnset(const NRVec<T> &r, const int j, int l = -1) {
NOT_GPU(*this);
if(l < 0) l = nn;
copyonwrite();
for(register int i=0; i<l; ++i) (*this)(i,j) = r[i];
};