Skip to content

Commit

Permalink
MAINT: Remove useless semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
remyleone committed Nov 7, 2015
1 parent 98f8f9c commit a572f1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion numpy/core/code_generators/generate_umath.py
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ def make_code(funcdict, filename):
%s
}
""" % (filename, code1, code2, code3)
return code;
return code


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion numpy/linalg/linalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -1622,7 +1622,7 @@ def pinv(a, rcond=1e-15 ):
if s[i] > cutoff:
s[i] = 1./s[i]
else:
s[i] = 0.;
s[i] = 0.
res = dot(transpose(vt), multiply(s[:, newaxis], transpose(u)))
return wrap(res)

Expand Down

0 comments on commit a572f1b

Please sign in to comment.