Adding type suppressions for pyrefly
PiperOrigin-RevId: 950703735 Change-Id: I6b6d5826a0dd1f4c0a1cbb2a46aee944cd60d884
This commit is contained in:
committed by
Copybara-Service
parent
00abc5465f
commit
78946ca94e
@@ -405,7 +405,7 @@ def least_squares(
|
||||
print(message, file=output)
|
||||
|
||||
# Append log to trace, call iter_callback.
|
||||
log = IterLog(candidate=x, objective=y, reduction=reduction, regularizer=mu)
|
||||
log = IterLog(candidate=x, objective=y, reduction=reduction, regularizer=mu) # pyrefly: ignore[bad-argument-type]
|
||||
if verbose >= Verbosity.FULLITER.value:
|
||||
log = dataclasses.replace(
|
||||
log, residual=r, jacobian=jac, grad=grad / D, step=step
|
||||
|
||||
Reference in New Issue
Block a user