Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added warning if diffusion parameters are such that mua>=musp. #160

Conversation

hayakawa16
Copy link
Member

Description of fix provided in related Issue.

Please let me know your thoughts on this fix. Thanks!

@hayakawa16
Copy link
Member Author

I need to add a unit test for this added code.

Copy link

sonarqubecloud bot commented Aug 8, 2024

Copy link
Member

@lmalenfant lmalenfant left a comment

Choose a reason for hiding this comment

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

Although it is not a best practice to use Console.WriteLine in a library, we are using it in many other locations so for now, adding one more will not make a difference. We might want to introduce a better way of logging these warnings in the future.

@hayakawa16
Copy link
Member Author

Thanks for your review @lmalenfant!

@hayakawa16 hayakawa16 merged commit 378f604 into master Aug 8, 2024
2 checks passed
@hayakawa16 hayakawa16 deleted the feature/88-sda-forward-solvers-need-check-on-optical-properties-to-make-sure-solution-is-valid branch August 8, 2024 22:05
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.

SDA forward solvers need check on optical properties to make sure solution is valid
2 participants