mxMatrix$values accessor not checking legality of assignment

tbates's picture
Project:OpenMx
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

hi,
given a matrix:

library(OpenMx)
symmMatrix <- mxMatrix("Symm", nrow = 3, ncol = 3)

the $ setter is allowing this

symmMatrix$values[1,2] <- 2

without internally also doing this

symmMatrix$values[2,1] <- 2

i.e., just like the old direct access @