@@ -512,21 +512,21 @@ def generate_sample_correlated(
512512 if len (corr_x [i ]) == len (u_x [i ].ravel ()):
513513 # cov_x = cm.convert_corr_to_cov(corr_x[i], u_x[i])
514514 MC_data = generate_sample_corr (
515- MCsteps , x [i ], u_x [i ], corr_x [i ], dtype = dtype
515+ MCsteps , x [i ], u_x [i ], corr_x [i ], dtype = dtype , pdf_shape = pdf_shape , pdf_params = pdf_params
516516 )
517517 elif len (corr_x [i ]) == len (u_x [i ]):
518518 MC_data = np .zeros ((MCsteps ,) + (u_x [i ].shape ))
519519 for j in range (len (u_x [i ][0 ])):
520520 # cov_x = cm.convert_corr_to_cov(corr_x[i], u_x[i][:, j])
521521 MC_data [:, :, j ] = generate_sample_corr (
522- MCsteps , x [i ][:, j ], u_x [i ][:, j ], corr_x [i ], dtype = dtype
522+ MCsteps , x [i ][:, j ], u_x [i ][:, j ], corr_x [i ], dtype = dtype , pdf_shape = pdf_shape , pdf_params = pdf_params
523523 )
524524 elif u_x [i ].ndim > 1 and len (corr_x [i ]) == len (u_x [i ][0 ]):
525525 MC_data = np .zeros ((MCsteps ,) + (u_x [i ].shape ))
526526 for j in range (len (u_x [i ][:, 0 ])):
527527 # cov_x = cm.convert_corr_to_cov(corr_x[i], u_x[i][j])
528528 MC_data [:, j , :] = generate_sample_corr (
529- MCsteps , x [i ][j ], u_x [i ][j ], corr_x [i ], dtype = dtype
529+ MCsteps , x [i ][j ], u_x [i ][j ], corr_x [i ], dtype = dtype , pdf_shape = pdf_shape , pdf_params = pdf_params
530530 )
531531 else :
532532 raise NotImplementedError (
0 commit comments