Merge branch 'issue/store_localfunction' into 'develop'

localfunction of discsretefunction could not be stored without the discretefunction object

See merge request !56
4 jobs for develop in 20 minutes and 47 seconds (queued for 39 seconds)
Status Job ID Name Coverage
  Test
passed #7225
debian:10 clang-6-libcpp-17

00:20:47

passed #7224
debian:10 gcc-8-17

00:16:36

passed #7226
debian:9 gcc-6-14

00:13:25

passed #7227
ubuntu:18.04 clang-6-17

00:19:16