Skip to content

Commit

Permalink
new: toupper
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlei committed Oct 13, 2014
1 parent ef3446d commit 1115d7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions smop/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,9 @@ def sum_(a, dim=None):
else:
return np.asanyarray(a).sum(dim-1)

def toupper_(a):
return char(str(a.data).upper())

true = True

def true_(*args):
Expand Down

0 comments on commit 1115d7e

Please sign in to comment.