Skip to content
Snippets Groups Projects
Commit fa07f259 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Clean up qualifiers

parent bdabcd44
Branches
No related tags found
No related merge requests found
......@@ -46,17 +46,17 @@ template <int dimension> class MyNonlinearity {
}
}
void upperGradient(const VectorType x, VectorType &ret) const {
void upperGradient(VectorType const x, VectorType &ret) const {
ret = x;
ret *= func_.rightDifferential(x.two_norm()) / x.two_norm();
}
void lowerGradient(const VectorType x, VectorType &ret) const {
void lowerGradient(VectorType const x, VectorType &ret) const {
ret = x;
ret *= func_.leftDifferential(x.two_norm()) / x.two_norm();
}
void directionalDomain(const VectorType &, const VectorType &,
void directionalDomain(VectorType const &, VectorType const &,
Interval<double> &dom) const {
dom[0] = -std::numeric_limits<double>::max();
dom[1] = std::numeric_limits<double>::max();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment