mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-29 23:49:59 +02:00
array_group -> list_to_matrix fixes
This commit is contained in:
@@ -549,7 +549,7 @@ function gaussian_rands(N=1, mean=0, cov=1, seed=undef) =
|
||||
L = cholesky(cov)
|
||||
)
|
||||
assert(is_def(L), "Supplied covariance matrix is not positive definite")
|
||||
move(mean,array_group(rdata,dim)*transpose(L));
|
||||
move(mean,list_to_matrix(rdata,dim)*transpose(L));
|
||||
|
||||
|
||||
// Function: spherical_random_points()
|
||||
|
Reference in New Issue
Block a user