Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 319ea6a

Browse filesBrowse files
committed
BUG: Fix IndexError: too many indices with numpy 1.8
1 parent 8bad5f7 commit 319ea6a
Copy full SHA for 319ea6a

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎lib/matplotlib/tri/triinterpolate.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tri/triinterpolate.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,8 +1050,8 @@ def compute_dof_from_df(self):
10501050
gradient.
10511051
"""
10521052
J = CubicTriInterpolator._get_jacobian(self._tris_pts)
1053-
tri_z = self.z[self._triangles, :]
1054-
tri_dz = self.dz[self._triangles, :]
1053+
tri_z = self.z[self._triangles]
1054+
tri_dz = self.dz[self._triangles]
10551055
tri_dof = self.get_dof_vec(tri_z, tri_dz, J)
10561056
return tri_dof
10571057

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.