famuvie / breedR

Statistical methods for forest genetic resources analysts
http://famuvie.github.io/breedR/
GNU General Public License v3.0
31 stars 24 forks source link

Bug: check for symmetry gets confused by names #40

Closed famuvie closed 8 years ago

famuvie commented 9 years ago

In the constructor of group effects effect_group() we check for the symmetry of the initial covariance matrix for the group using isSymmetric.matrix(). If the argument var.ini is specified with names, the function will return FALSE unless identical column and row names are defined. We need to perform this check using unname(). Verify whether we use the function isSymmetric() somewhere else.