ezander / sglib

A Matlab/Octave toolbox for stochastic Galerkin methods
http://ezander.github.com/sglib
GNU General Public License v3.0
21 stars 14 forks source link

Error if parameter cov_gam is empty #12

Closed litvinen closed 13 years ago

litvinen commented 13 years ago

In transform_covariance_pce at 114 In expand_field_pce_sg at 93 In run_example at 51 expanding field, this may take a while ...

??? Cell contents reference from a non-cell array object.

Error in ==> expand_field_pce_sg at 93 C_gam=transform_covariance_pce( C_r, rho_k, transform_options{:} );

Error in ==> demo_field_expand_2d at 28 [f_i_alpha, I_f]=expand_field_pce_sg( h_f, cov_f, [], pos, G_N, p_f, m_f, options_expand_f );

ezander commented 13 years ago

Fixed.