Skip to content

Commit

Permalink
🔧 Fix CPP check error in boundary values temp boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
kks32 committed May 25, 2020
1 parent 3164158 commit 34dbe9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/boundaryvalues.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ class PressureDirichletBoundaryValues : public Function<dim> {
virtual void set_boundary_id(int bnd_id) { boundary_id = bnd_id; }

private:
const double period{0.}; // value
int boundary_id{0};
const double period; // value
int boundary_id{-1};
};

template <int dim>
Expand Down Expand Up @@ -61,7 +61,7 @@ class TemperatureDirichletBoundaryValues : public Function<dim> {

private:
const double period; // value
int boundary_id;
int boundary_id{-1};
};

template <int dim>
Expand Down

0 comments on commit 34dbe9a

Please sign in to comment.