-
Notifications
You must be signed in to change notification settings - Fork 17
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
Rename linear problem solver and add parameter type checking #457
Conversation
Codecov Report
@@ Coverage Diff @@
## main #457 +/- ##
==========================================
- Coverage 93.34% 93.26% -0.08%
==========================================
Files 87 87
Lines 5514 5522 +8
==========================================
+ Hits 5147 5150 +3
- Misses 367 372 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
|
scico/solver.py
Outdated
raise ValueError("If matrix, D should be 1D or 2D.") | ||
raise ValueError("If MatrixOperator, D should be 1D or 2D.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This error can be raised by either an array or a MatrixOperator, maybe should be "If array or MatrixOperator..."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
Rename linear problem solver and add parameter type checking.