Skip to content
Snippets Groups Projects
Commit 1ce8583f authored by wenqing's avatar wenqing Committed by Dmitri Naumov
Browse files

[PETScVector] call config() inside shallowCopy

parent 8e61f28f
No related branches found
No related tags found
No related merge requests found
...@@ -314,7 +314,7 @@ void PETScVector::shallowCopy(const PETScVector& v) ...@@ -314,7 +314,7 @@ void PETScVector::shallowCopy(const PETScVector& v)
has_ghost_id_ = v.has_ghost_id_; has_ghost_id_ = v.has_ghost_id_;
global_ids2local_ids_ghost_ = v.global_ids2local_ids_ghost_; global_ids2local_ids_ghost_ = v.global_ids2local_ids_ghost_;
VecSetOption(v_, VEC_IGNORE_NEGATIVE_INDICES, PETSC_TRUE); config();
} }
void finalizeVectorAssembly(PETScVector& vec) void finalizeVectorAssembly(PETScVector& vec)
......
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