@@ -456,6 +456,8 @@ matrix_cont_dists = [
456
456
# DistSpec(:TuringInverseWishart, (dim, cov_mat), fill(cov_mat, 2)),
457
457
]
458
458
xmatrix_cont_dists = [
459
+ matrix_cont_dists;
460
+
459
461
# Matrix x
460
462
filter (! isnothing, filldist_spec .(uni_cont_dists; n = (2 , 2 )));
461
463
filter (! isnothing, filldist_spec .(multi_cont_dists; disttype = :multi , n = 2 ));
@@ -467,8 +469,6 @@ xmatrix_cont_dists = [
467
469
filter (! isnothing, filldist_spec .(multi_cont_dists; disttype = :multi , n = 2 , d = 2 ));
468
470
filter (! isnothing, arraydist_spec .(uni_cont_dists; n = (2 , 2 ), d = 2 ));
469
471
filter (! isnothing, arraydist_spec .(multi_cont_dists; disttype = :multi , n = 2 , d = 2 ));
470
-
471
- matrix_cont_dists;
472
472
]
473
473
broken_matrix_cont_dists = [
474
474
# Other
@@ -532,14 +532,7 @@ separator()
532
532
533
533
@testset " Matrix-variate continuous distributions" begin
534
534
test_head (" Testing: Matrix-variate continuous distributions" )
535
- n = length (xmulti_disc_dists)
536
- for d in xmatrix_cont_dists[1 : div (n,2 )]
537
- test_info (d. name)
538
- for testf in get_all_functions (d, true )
539
- test_ad (testf. f, testf. x)
540
- end
541
- end
542
- for d in xmatrix_cont_dists[div (n,2 )+ 1 : end ]
535
+ for d in xmatrix_cont_dists
543
536
test_info (d. name)
544
537
for testf in get_all_functions (d, true )
545
538
test_ad (testf. f, testf. x)
0 commit comments