diff options
| author | Elliott Forney <elliott.forney@gmail.com> | 2016-10-10 16:33:45 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-10 16:33:45 -0600 |
| commit | ecf11a6710a354db52dfb5fe073ee1ce6e15bd3e (patch) | |
| tree | 8fbeb9e5037ddd595bd8a6684de7852b8f79bd5f /numpy/lib/function_base.py | |
| parent | 3811083eee8d61548587f0d52286a08a7744d88f (diff) | |
| download | numpy-ecf11a6710a354db52dfb5fe073ee1ce6e15bd3e.tar.gz | |
Fix to meshgrid allows passing array sub-classes
Diffstat (limited to 'numpy/lib/function_base.py')
| -rw-r--r-- | numpy/lib/function_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index bbd5eb984..29de703d8 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -3463,7 +3463,7 @@ def meshgrid(*xi, **kwargs): if not sparse and len(output) > 0: # Return the full N-D matrix (not only the 1-D vector) - output = np.broadcast_arrays(*output) + output = np.broadcast_arrays(*output, subok=True) return output |
