Commit a207a9eb authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#867 Cosmetics.

parent 343e8bf8
......@@ -346,10 +346,10 @@ namespace HappyHeart
bool AreEqual(const Vector& vec1, const Vector& vec2, const double epsilon,
std::string& inequalityDescription,
std::string& inequality_description,
const char* invoking_file, int invoking_line)
{
inequalityDescription.clear();
inequality_description.clear();
PetscInt size = vec1.GetProcessorWiseSize(invoking_file, invoking_line);
{
......@@ -378,7 +378,7 @@ namespace HappyHeart
std::ostringstream oconv;
oconv << "Inequality found for index " << index << ": vector 1 displays " << values1[index] << " while "
"vector2 displays " << values2[index] << std::endl;
inequalityDescription = oconv.str();
inequality_description = oconv.str();
ret = false;
}
else
......
......@@ -578,12 +578,9 @@ namespace HappyHeart
* \param[in] epsilon Precision actually required to get an equality (a == b if fabs(a - b) < epsilon)
* \param[out] inequalityDescription Description of when the discrepancy happened. Empty if true is returned.
*/
bool AreEqual(const Vector& vec1, const Vector& vec2, double epsilon, std::string& inequalityDescription,
const char* invoking_file, int invoking_line);
/*!
* \brief Wrapper over VecAXPY, that performs Y = alpha * X + Y.
......
......@@ -24,7 +24,6 @@ namespace HappyHeart
{
inline Vec Vector::Internal() const
{
assert(petsc_vector_ != PETSC_NULL);
......
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