sfcheung / semlbci

Find the likelihood based confidence intervals for parameters in structural equation modeling
https://sfcheung.github.io/semlbci/
1 stars 0 forks source link

Check the use of `force` in `set_constraint` #76

Closed sfcheung closed 3 years ago

sfcheung commented 3 years ago

The function force should be called before defining the constraint function, not inside the definition of the constraint function.

Not using force may not cause any problems. However, it's better to "force" because the constraint function is used by several other functions.

DONE. Checked and confirmed that force is not needed because all the names are evaluated before defining the function. No risk of lazy evaluation. Lines with force were deleted (11efb762f0b045d59e0c37a04c02fab04e28007e)