def success(self, x):
        val = self.fun(x)
        if np.isnan(val):
            return True
        try:
            assert_almost_equal(val, 0., 4)
            return True
        except AssertionError:
            return False

        return False
Saves/updates the element's data in the database.
dataset/ETHPy150Open scipy/scipy/benchmarks/benchmarks/go_benchmark_functions/go_funcs_D.py/Damavandi.success--crossover with--dataset/ETHPy150Open espeed/bulbs/bulbs/model.py/Node.save