This gives the user a clearer error message if they get something wrong, like I sometimes do. I had tried setting the beta column from an array of the wrong size, and the error message it gave was less than informative. This extra check defends against this user error.
This gives the user a clearer error message if they get something wrong, like I sometimes do. I had tried setting the beta column from an array of the wrong size, and the error message it gave was less than informative. This extra check defends against this user error.