Changeset 45

Show
Ignore:
Timestamp:
02/23/08 15:22:40 (2 years ago)
Author:
erik
Message:

Div rather than mul.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/robofab/Lib/robofab/objects/objectsBase.py

    r44 r45  
    178178         
    179179        # math operations for psHint object 
     180        # Note: math operations can change integers to floats. 
    180181        def __add__(self, other): 
    181182                assert isinstance(other, BasePostScriptFontHintValues) 
     
    203204                        factor = factor[0] 
    204205                copiedInfo = self.copy() 
    205                 self._processMathTwo(copiedInfo, factor, mul
     206                self._processMathTwo(copiedInfo, factor, div
    206207                return copiedInfo 
    207208