Set 'weights' default to NULL and add parameter 'space_dim'

1 job for develop-Cluster
in 3 minutes and 33 seconds, using 0 compute credits, and was queued for 0 seconds