DavidFirth / qvcalc

R package for quasi-variances
https://davidfirth.github.io/qvcalc/
0 stars 2 forks source link

Cholmod error 'X and/or Y have wrong dimensions' at file ../MatrixOps/cholmod_sdmult.c, line 90 #7

Closed Derek-Jones closed 4 years ago

Derek-Jones commented 4 years ago

The code:

p_mle = PlackettLuce(t, nspseudo=0)
...
t=qvcalc(p_mle)

Actual code+data here: https://github.com/Derek-Jones/ESEUR-code-data/blob/master/reliability/educators.R

Produces the error: Error in X %*% as.vector(coefs) : Cholmod error 'X and/or Y have wrong dimensions' at file ../MatrixOps/cholmod_sdmult.c, line 90

DavidFirth commented 4 years ago

Many thanks @Derek-Jones for reporting this. The issue is not with qvcalc, but seems instead to be a bug in the PlackettLuce package. So I have raised this there as an issue to solve: https://github.com/hturner/PlackettLuce/issues/42 .