Skip to content

Commit 879862a

Browse files
committed
remove truisms
1 parent 1ee4fc3 commit 879862a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/numerics/petsc_vector.C

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,9 +533,9 @@ PetscVector<T>::operator = (const PetscVector<T> & v)
533533
libmesh_assert (v.closed());
534534

535535
AssignmentType assign_type = Error;
536-
if (this->type() == SERIAL && v.type() != SERIAL && v.size() == this->local_size())
536+
if (this->type() == SERIAL && v.type() != SERIAL)
537537
assign_type = ParallelToSerial;
538-
else if (this->type() != SERIAL && v.type() == SERIAL && this->size() == v.local_size())
538+
else if (this->type() != SERIAL && v.type() == SERIAL)
539539
assign_type = SerialToParallel;
540540
else if (this->local_size() == v.local_size())
541541
assign_type = SameToSame;

0 commit comments

Comments
 (0)