DOC: correct misspelling in comment

This commit is contained in:
Josh Warner (Mac)
2014-02-09 15:41:50 -06:00
parent 3d3aba1ff7
commit f2b13047f7
+1 -1
View File
@@ -260,7 +260,7 @@ def correct_mesh_orientation(volume, verts, faces, spacing=(1., 1., 1.),
raise ValueError("Incorrect input %s in `gradient_direction`, see "
"docstring." % (gradient_direction))
# Swap orientation and returh, without modifying original data
# Swap orientation and return, without modifying original data
faces_corrected = faces.copy()
faces_corrected[indices] = faces_corrected[indices, ::-1]