Fix runtime error with macosx 10.13
With macosx 10.13 (Apple clang 10.0) there is a runtime problem when loading libL1. The problem is due to the usage of a static constexpr in the source file which can be overcome when doing a static cast of the variable.
Merge request reports
Activity
added BugFix Reconstruction labels
Dear @se.gorbunov, @v.akishina,
you have been identified as code owner of at least one file which was changed with this merge request.
Please check the changes and approve them or request changes.
added CodeOwners label
@f.uhlig do you understand, what was the problem?
In the end I think this is a compiler problem since the issue does not show up with later macosx (clang) versions.
Somehow the static constexpression L1Algo::fkMaxNthreads isn't known at runtime when it is needed in some log statement. The workaround is to do a static_cast<> to properly create an accessible object.
added 2 commits