-
Notifications
You must be signed in to change notification settings - Fork 6
Fixes the reported issue #371 #372
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
Fixes the reported issue #371 #372
Conversation
|
Currently proposed C++11-style fix running CI. Suggest to run full unit test suite prior to merge. Issue is resolved as by the following manual test: |
|
Did a quick scan of the same issue in other places -- no such case. If CI and tests run, ready for merge. |
|
@djelovina could you confirm this addresses your issue? I applied a C++11 style fix, the bumping to C++17 and use of |
|
CI OK. Unit tests (with LPF) are running |
|
All unit tests OK; will merge |
|
Actually no, I think the change in this MR is correct, but the code example, which was wrong in the above but now fixed (see below), should in fact trigger that assertion failure(!) The reason this code should fail, is because even if |
|
Now the behaviour is correct, same I also added a warning about this to the operators for which this might happen -- actually a warning was already there, but I just made it more explicit with this MR. I am re-running the CI and unit tests. Meanwhile, @djelovina could you double-check what I wrote above here is correct and then also review the other changes? Many thanks! |
Closes #371