| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Fix usage of undefined values in test
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.
There was a problem hiding this comment.
Good catch!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
The test file test/unit/math/rev/fun/to_var_value_test has been randomly failing lately. This appears to be due to the test accidentally comparing uninitialised values against each other, which is UB.
Tests
N/A - existing tests should pass
Side Effects
N/A
Release notes
Fix flaky test on Windows
Checklist
Copyright holder: Andrew Johnson
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