Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/mathlib.py
diff options
context:
space:
mode:
authorGary Martin <gary@garycmartin.com>2010-07-26 04:52:58 (GMT)
committer Gary Martin <gary@garycmartin.com>2010-07-26 04:52:58 (GMT)
commitb8e516507526b27051964c68efa51994b3099072 (patch)
treecf23b346bc3a56c05584175b6f14e064da1eac24 /mathlib.py
parent870aafc46e3bdcff6840dd8a7806d9c55e41423c (diff)
Patch from Reinier to fix #1111 (deg/rad function broken), and separate sci/eng toolbar glitch.
Diffstat (limited to 'mathlib.py')
-rw-r--r--mathlib.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/mathlib.py b/mathlib.py
index 610bb07..c1ae273 100644
--- a/mathlib.py
+++ b/mathlib.py
@@ -40,7 +40,6 @@ class MathLib:
FORMAT_SCIENTIFIC = 2
def __init__(self):
- self.set_angle_type(self.ANGLE_DEG)
self.set_format_type(self.FORMAT_SCIENTIFIC)
self.set_digit_limit(9)
@@ -69,10 +68,6 @@ class MathLib:
if len(self.div_sym) == 0 or len(self.div_sym) > 3:
self.div_sym = '/'
- def set_angle_type(self, type):
- self.angle_scaling = self.d(type)
- _logger.debug('Angle type set to %s', self.angle_scaling)
-
def set_format_type(self, fmt, digit_limit=9):
self.format_type = fmt
_logger.debug('Format type set to %s', fmt)