(p)
| 28 | |
| 29 | |
| 30 | def obj_func(p): |
| 31 | costly_function() |
| 32 | x1, x2 = p |
| 33 | x = np.square(x1) + np.square(x2) |
| 34 | return 0.5 + (np.square(np.sin(x)) - 0.5) / np.square(1 + 0.001 * x) |
| 35 | |
| 36 | |
| 37 | for mode in ('common', 'multithreading', 'multiprocessing'): |
nothing calls this directly
no test coverage detected