synth_opt_adders
synth_opt_adders copied to clipboard
ExpressionForest init does not use node_defs argument
ExpressionForest's init() method takes in a node_defs argument as a dictionary.
This could cause issues if a Forest class is defined for a specific operation, like addition by-a-constant-number, and tries to re-use a pre-existing Tree class while making no changes other than modifying the node_defs argument. Anything passed into the Forest's init via node_defs will go unused.
Same issue occurs for the idem argument, though this is less likely to cause issues.