computed-axial-lithography / VAMToolbox

Other
27 stars 10 forks source link

[Bug] default behavior in vamtoolbox.optimize.Options changes everytime __init__ is called #21

Open alvinccli opened 8 months ago

alvinccli commented 8 months ago

In class Options: init

The class definition of dict "__default_BCLP" should not be edited in place in line 97. self.__default_BCLP.update(kwargs)

This potentially results in a changing default behavior everytime an option instance is created and init is called.

This issue is discovered during development and recently gave me erroneous results.