You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.
The user input is merged with the defaults of a given calculator to form a hierarchical Property object. The problem arises when the initialization method of the calculator must choose between procedure A or B, and there is a default property associated with A or B, for instance A.foo or B.bar.
During the initialization the following pseudo-code is run:
Problem
The user input is merged with the defaults of a given calculator to form a hierarchical Property object. The problem arises when the initialization method of the calculator must choose between procedure
A
orB
, and there is a default property associated withA
orB
, for instanceA.foo
orB.bar
.During the initialization the following pseudo-code is run:
Because
A.foo
is always present as default, the program will always runA
.Solution
A
orB
must be run, disentangling the properties from the boolean flags.exists
avoiding collisions with the default values.The text was updated successfully, but these errors were encountered: