Skip to content
Snippets Groups Projects
Commit b4603515 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

remove trailing whitespace

[[Imported from SVN: r9300]]
parent d485546b
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ class MaxNormTrustRegion ...@@ -10,7 +10,7 @@ class MaxNormTrustRegion
{ {
public: public:
MaxNormTrustRegion(size_t size, double initialRadius) MaxNormTrustRegion(size_t size, double initialRadius)
: obstacles_(size) : obstacles_(size)
{ {
set(initialRadius); set(initialRadius);
...@@ -21,12 +21,12 @@ public: ...@@ -21,12 +21,12 @@ public:
for (size_t i=0; i<obstacles_.size(); i++) { for (size_t i=0; i<obstacles_.size(); i++) {
for (int k=0; k<blocksize; k++) { for (int k=0; k<blocksize; k++) {
obstacles_[i].lower(k) = -radius; obstacles_[i].lower(k) = -radius;
obstacles_[i].upper(k) = radius; obstacles_[i].upper(k) = radius;
} }
} }
} }
...@@ -40,14 +40,14 @@ public: ...@@ -40,14 +40,14 @@ public:
void scale(double factor) { void scale(double factor) {
for (size_t i=0; i<obstacles_.size(); i++) { for (size_t i=0; i<obstacles_.size(); i++) {
for (int k=0; k<blocksize; k++) { for (int k=0; k<blocksize; k++) {
obstacles_[i].lower(k) *= factor; obstacles_[i].lower(k) *= factor;
obstacles_[i].upper(k) *= factor; obstacles_[i].upper(k) *= factor;
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment