"""
Implementation of an OmniGraph node that subtracts b from a
"""


class OgnSubtractDouble:
    @staticmethod
    def compute(db):
        db.outputs.out = db.inputs.a - db.inputs.b
        return True
