Skip to content

Conversation

@momchil-flex
Copy link
Collaborator

No description provided.


if dn_dwvl > 0:
raise ValidationError("Dispersion ``dn_dwvl`` must be smaller than zero.")
if n < 1:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

based on description of the error, should this be n <= 1?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

applies to one above too

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, technically the conditions are correct and the descriptions should change, but I'm gonna require dn_dwvl to be strictly smaller than zero because it could trigger an error if it's exactly zero due to numerical precision. I'll update.

@tylerflex tylerflex merged commit 4caa880 into develop Feb 2, 2022
@momchil-flex momchil-flex deleted the momchil/dndlam branch February 3, 2022 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants