Skip to content

Commit

Permalink
BUG: fix a regression where np.linspace's num argument would be ignor…
Browse files Browse the repository at this point in the history
…ed for unyt_arrays
  • Loading branch information
neutrinoceros committed Dec 25, 2024
1 parent 41b4b36 commit c25ed28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unyt/_array_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ def linspace(
return _linspace(
start,
stop,
num=50,
num=num,
endpoint=endpoint,
retstep=retstep,
dtype=dtype,
Expand All @@ -681,7 +681,7 @@ def linspace(start, stop, num=50, endpoint=True, retstep=False, dtype=None, axis
return _linspace(
start,
stop,
num=50,
num=num,
endpoint=endpoint,
retstep=retstep,
dtype=dtype,
Expand Down

0 comments on commit c25ed28

Please sign in to comment.