Skip to content

Commit 683b9aa

Browse files
committed
🩹 optimize: fix compatibility issues with ABCPolyBase on numpy==2.1
1 parent 10ba0b4 commit 683b9aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎scipy-stubs/optimize/_minimize.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ from typing import Concatenate, Final, Literal, LiteralString, Protocol, TypeAli
44
import numpy as np
55
import optype.numpy as onp
66
import optype.numpy.compat as npc
7-
from numpy.polynomial._polybase import ABCPolyBase
7+
from numpy_typing_compat import ABCPolyBase
88

99
from ._hessian_update_strategy import HessianUpdateStrategy
1010
from ._typing import Bound, Bounds, Constraint, Constraints, MethodMimimize, MethodMinimizeScalar

0 commit comments

Comments
 (0)