Fixed assertion issue for ell_matrix and hyb_matrix when using uBLAS.