| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
The couple CI failures look pretty easy to resolve, but I wanted to ask if there was a reason you didn't remove the forward_as code itself in this PR |
Sorry, something went wrong.
Just backwards compatibility. We don't use it but we don't know if a user has it in their code |
Sorry, something went wrong.
|
I think it would probably be fine to remove something like that, but if you disagree we should at least mark it is deprecated |
Sorry, something went wrong.
|
I'll mark it as depreciated. In general I think when we remove functions that should be a major version bump. |
Sorry, something went wrong.
There was a problem hiding this comment.
One comment but otherwise looks good!
Sorry, something went wrong.
Jenkins Console Log Machine information No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal CPU: G++: Clang: |
Sorry, something went wrong.
|
@SteveBronder looks like there are a couple usages in https://github.com/stan-dev/stan/blob/develop/src/stan/model/indexing/assign_varmat.hpp that will need to be fixed up |
Sorry, something went wrong.
There was a problem hiding this comment.
🎉
Sorry, something went wrong.
Jenkins Console Log Machine information No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal CPU: G++: Clang: |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Fixes #3190 . forward_as was a workaround for C++14 when we did not have if constexpr and needed both sides of expressions to be able to be evaluated. Now that we have C++17 we can remove all those and cleanup a good bit of the code
Tests
No new tests
Side Effects
Are there any side effects that we should be aware of?
Release notes
Remove use of forward_as in the math library
Checklist
Copyright holder: Steve Bronder
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
the basic tests are passing
the code is written in idiomatic C++ and changes are documented in the doxygen
the new changes are tested