Skip to content
Snippets Groups Projects
Commit 02448565 authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

[MaL] use braces for initializer lists

parent c799dbc8
No related branches found
No related tags found
No related merge requests found
......@@ -44,8 +44,9 @@ PETScVector::PETScVector(const PetscInt vec_size, const bool is_global_size)
PETScVector::PETScVector(const PetscInt vec_size,
const std::vector<PetscInt>& ghost_ids,
const bool is_global_size) :
_size_ghosts(ghost_ids.size()), _has_ghost_id(true)
const bool is_global_size)
: _size_ghosts{ghost_ids.size()}
, _has_ghost_id{true}
{
_v.reset(new PETSc_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