Liebe Gitlab-Nutzer, lieber Gitlab-Nutzer, es ist nun möglich sich mittels des ZIH-Logins/LDAP an unserem Dienst anzumelden. Ein Anmelden über dieses erzeugt ein neues Konto. Das alte Konto ist über den Reiter "Standard" erreichbar. Die Administratoren

Dear Gitlab user, it is now possible to log in to our service using the ZIH login/LDAP. Logging in via this will create a new account. The old account can be accessed via the "Standard" tab. The administrators

Commit d91a6d59 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

* Small test commit, no changes

parent 70c8d9cc
......@@ -10,13 +10,13 @@ namespace AMDiS {
v += (*vec)[i] * (*vec)[i];
}
return sqrt(v);
};
}
void setValue(std::vector<double>& x, double value) {
for (int i = 0; i < static_cast<int>(x.size()); i++) {
x[i] = value;
}
};
}
const std::vector<double>& operator*=(std::vector<double>& x, double scal) {
for (int i = 0; i < static_cast<int>(x.size()); i++) {
......@@ -24,7 +24,7 @@ namespace AMDiS {
}
return x;
};
}
const std::vector<double>& operator+=(std::vector<double>& x1,
const std::vector<double>& x2) {
......@@ -33,7 +33,7 @@ namespace AMDiS {
}
return x1;
};
}
double operator*(std::vector<double>& x1, std::vector<double>& x2) {
double result = 0.0;
......@@ -43,7 +43,7 @@ namespace AMDiS {
}
return result;
};
}
void axpy(double alpha, const std::vector<double>& x, std::vector<double>& y) {
for (int i = 0; i < static_cast<int>(y.size()); i++) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment