Skip to content

Commit 981373f

Browse files
committed
Fix missing _n_steps initialization in RBParameters map-based constructor
1 parent 22174ac commit 981373f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/reduced_basis/rb_parameters.C

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ RBParameters::RBParameters() :
3232
{
3333
}
3434

35-
RBParameters::RBParameters(const std::map<std::string, Real> & parameter_map)
35+
RBParameters::RBParameters(const std::map<std::string, Real> & parameter_map) :
36+
_n_steps(1)
3637
{
3738
// Backwards compatible support for constructing an RBParameters
3839
// object from a map<string, Real>. We store a single entry in each

0 commit comments

Comments
 (0)