boostorg / boostorg/odeint

Uninitialized member variable boost::numeric::odeint::bulrisch_stoer<>::m_dt_last

Open
#59 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
55
Forks
59
PR merge metrics
No merged PRs in 30d

Description

It seems that `m_dt_last` is used w/o initialization in the first call to `try_check`:

```
// boots/numeric/odeint/stepper/bulrisch_stoer.hpp
206 if( dt != m_dt_last ) // <-- m_dt_last indeterminate?
207 {
208 reset(); // step size changed from outside -> reset
209 }
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.