bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / _lib / _util / _call_callback_maybe_halt
function
scipy._lib._util:_call_callback_maybe_halt
source: build-install/usr/lib/python3.14/site-packages/scipy/_lib/_util.py:969
Signature
def _call_callback_maybe_halt(callback, res)Summary
Call wrapped callback; return True if algorithm should stop.
Parameters
callback: callable or NoneA user-provided callback wrapped with _wrap_callback
res: OptimizeResultInformation about the current iterate
Returns
halt: boolTrue if minimization should stop
Aliases
scipy.differentiate.eim._call_callback_maybe_halt