Opened 7 years ago

Last modified 4 years ago

#4630 new defect

GetTechModifiedProperty don't handle multiplication or addition by 0 — at Version 1

Reported by: fatherbushido Owned by:
Priority: Should Have Milestone: Backlog
Component: Simulation Keywords:
Cc: Patch:

Description (last modified by fatherbushido)

In GetTechModifiedProperty (globalscripts), there are checks for "multiply" or "add" key. But when the value is 0, we fall in the case which throw an error. I don't know if that's a good idea or not to allow multiplication by 0 and addition of 0, (the first can be replaced by "replace": 0, and the second is useless) so that can be close at won't fix.

Change History (1)

comment:1 by fatherbushido, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.