Skip to content

Commit

Permalink
ROL: avoid using namespace directive in header.
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Fehling <[email protected]>
  • Loading branch information
marcfehling committed Oct 30, 2024
1 parent 09758e9 commit cca09b9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "ROL_StdVector.hpp"
#include "ROL_Objective.hpp"

using namespace ROL;
namespace ROL {

/** \brief Generic objective wrapper class for class that uses Sacado */
template<class Real, template<class> class Obj>
Expand Down Expand Up @@ -151,5 +151,6 @@ void Sacado_Objective<Real,Obj>::hessVecAD( Vector<ScalarT> &hv, const Vector<Sc
}
}

} // namespace ROL

#endif

0 comments on commit cca09b9

Please sign in to comment.