Skip to content
Snippets Groups Projects
Commit 37d6eb81 authored by Kevin Scott's avatar Kevin Scott
Browse files

Default value for init ConstantMultiplication.

parent d4ec822b
No related branches found
No related tags found
2 merge requests!67WIP: B-ASIC version 1.0.0 hotfix,!65B-ASIC version 1.0.0
Pipeline #13421 failed
......@@ -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.
Finish editing this message first!
Please register or to comment