Skip to content
Snippets Groups Projects
Commit 5d117293 authored by Kevin Scott's avatar Kevin Scott Committed by Ivar Härnqvist
Browse files

Default value for init ConstantMultiplication.

parent 55df80c9
No related branches found
No related tags found
1 merge request!31Resolve "Specify internal input/output dependencies of an Operation"
This commit is part of merge request !31. Comments created here will be created in the context of that merge request.
......@@ -192,7 +192,7 @@ class ConstantMultiplication(AbstractOperation):
TODO: More info.
"""
def __init__(self, value: Number, src0: Optional[SignalSourceProvider] = None, name: Name = ""):
def __init__(self, value: Number = 0, src0: Optional[SignalSourceProvider] = None, name: Name = ""):
super().__init__(input_count = 1, output_count = 1, name = name, input_sources = [src0])
self.set_param("value", value)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment