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