You are here

Better error reporting on algebra extents not matching matrix extent?

Hi,
currently a model can be built with a run time error like this
> ACEOrdFit = mxRun(ACEOrdModel, intervals=F)
Error: The algebra 'thresholdsMatrix' in model 'ACE' generated the error message: length of 'dimnames' [1] not equal to array extent

It would be very helpful if the error reported the size of matrix that was being dimensioned, and the dimnames provided.

e.g. Error: The algebra 'thresholdsMatrix' in model 'ACE' generated the error message: length of 'dimnames' [1] not equal to array extent: You are giving dimnames to a 3:4 matrix, but provided 2:4 dimnames:
c("X","X")
c("v1T1","v2T1","v1T2","v2T2")

Reporter: 
Created: 
Thu, 07/29/2010 - 13:32
Updated: 
Wed, 08/20/2014 - 13:49

Comments

This is currently handled pretty well. If there's something specific that needs changing, post a new issue.