Use getattr for backward compatibility in DenseDesignMatrix
Merge pull request #896 from bartvm/y_labels

Use getattr for backward compatibility in DenseDesignMatrix