Fix functionality for applying to a high dimensional domain

16 jobs for NIFTy_8
Status Name Job ID Coverage
  Static Checks
canceled check_no_asserts #1352312

 
  Build Docker
canceled build_docker_from_cache #1352313

 
  Test
canceled test_mpi #1352315

canceled test_serial #1352314

 
  Demo Runs
canceled run_bernoulli #1352323

canceled run_curve_fitting #1352324

canceled run_getting_density #1352322

canceled run_getting_started_1 #1352318

canceled run_getting_started_2 #1352319

canceled run_getting_started_3 #1352320

canceled run_getting_started_mf #1352321

canceled run_ipynb0 #1352316

canceled run_ipynb1 #1352317

canceled run_meanfield #1352326

canceled run_nonlinearity_guide #1352327

canceled run_visual_vi #1352325