From a1cd4a81c243aba28ff54806b6761261b339bbe9 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Thu, 29 Jul 2010 14:16:43 +0000 Subject: better type-checking in taplus --- (limited to 'talogo.py') diff --git a/talogo.py b/talogo.py index 09f1e0a..318bb7e 100644 --- a/talogo.py +++ b/talogo.py @@ -152,11 +152,11 @@ def taplus(x, y): if numtype(x): xx = str(round_int(x)) else: - xx = x + xx = str(x) if numtype(y): yy = str(round_int(y)) else: - yy = y + yy = str(y) return(xx+yy) def taminus(x, y): -- cgit v0.9.1