Skip to content

Commit

Permalink
Commenting out an unused class field. Not that its initialization ass…
Browse files Browse the repository at this point in the history
…umes some restrictions on the template parameters of the class. This induced a compiler warning.
  • Loading branch information
LogashenkoDL committed Jul 31, 2023
1 parent 5337aac commit babe4fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ugbase/lib_algebra/active_set/active_set.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ class ActiveSet
/// constructor
ActiveSet() : m_bObs(false), m_spLagMultDisc(NULL) {
// specifies the number of fcts
value_type u_val;
m_nrFcts = GetSize(u_val);
//value_type u_val;
//m_nrFcts = GetSize(u_val); //ToDo: This field is only used in check_dist_to_obs which is commented out. Remove it completely?
};

/// sets obstacle gridfunction, which limits the solution u
Expand Down Expand Up @@ -187,7 +187,7 @@ class ActiveSet
SmartPtr<TDomain> m_spDom;

/// number of functions
size_t m_nrFcts;
//size_t m_nrFcts; //ToDo: This field is only used in check_dist_to_obs which is commented out. Remove it completely?

/// pointer to a gridfunction describing an obstacle-constraint
ConstSmartPtr<function_type> m_spObs;
Expand Down

0 comments on commit babe4fd

Please sign in to comment.