Improved apply_func
Improved apply_func


Former-commit-id: 7999c85affc69d67815ee461d28b71b8e18c37bd [formerly 954801c494147d45e1c3b68acd59dd0ad12f08c2] [formerly 954801c494147d45e1c3b68acd59dd0ad12f08c2 [formerly cfbc22513620a07ad26ce7317222edb296c25938]]
Former-commit-id: 2b5bedc17f941076a6a3b7bc2ac3d81a7b943ef0
Former-commit-id: 4af692abe33ff81c2c5eb63c74e95a282f866ab7
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine