Skip to content

Commit f11e68f

Browse files
committed
remove accidental subproject changes
1 parent 4e1354f commit f11e68f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

scipy/stats/_continued_fraction.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,7 @@ def func(n, *args):
300300

301301
xp = array_namespace(fs_a[0], fs_b[0], *args)
302302

303-
# TODO: broadcast_shapes is not part of the Array API (but maybe it should be ...)
304-
# temporarily use numpy
305-
shape = np.broadcast_shapes(shape_a, shape_b)
303+
shape = xp.broadcast_shapes(shape_a, shape_b)
306304
dtype = xp.result_type(dtype_a, dtype_b)
307305
an = xp.astype(xp_ravel(xp.broadcast_to(xp.reshape(fs_a[0], shape_a), shape)), dtype) # noqa: E501
308306
bn = xp.astype(xp_ravel(xp.broadcast_to(xp.reshape(fs_b[0], shape_b), shape)), dtype) # noqa: E501

subprojects/highs

0 commit comments

Comments
 (0)