]> https://gitweb.dealii.org/ - dealii.git/commit
Replace &vec[0] with vec.data() or vec.get(). 7618/head
authorDavid Wells <drwells@email.unc.edu>
Sun, 20 Jan 2019 18:33:10 +0000 (13:33 -0500)
committerDavid Wells <drwells@email.unc.edu>
Mon, 21 Jan 2019 03:57:32 +0000 (22:57 -0500)
commite2c0d8b8cb84e86623defa7e9d74fde283bb1d8d
treec378e7e38c52d603536e7af0d199e5afb5dc1ff9
parent91afd3439f18c250ca4e0f49e5ab96d1fda811ed
Replace &vec[0] with vec.data() or vec.get().

This is more explicit and also works correctly when the array is
nullptr.
39 files changed:
include/deal.II/base/mpi.h
include/deal.II/base/mpi.templates.h
include/deal.II/differentiation/ad/ad_drivers.h
include/deal.II/fe/fe_tools_extrapolate.templates.h
include/deal.II/grid/grid_tools.h
include/deal.II/lac/affine_constraints.templates.h
include/deal.II/lac/block_matrix_base.h
include/deal.II/lac/chunk_sparse_matrix.templates.h
include/deal.II/lac/full_matrix.templates.h
include/deal.II/lac/petsc_vector_base.h
include/deal.II/lac/sparse_matrix.templates.h
include/deal.II/lac/tensor_product_matrix.h
include/deal.II/matrix_free/cuda_matrix_free.templates.h
include/deal.II/matrix_free/matrix_free.templates.h
include/deal.II/matrix_free/operators.h
source/base/data_out_base.cc
source/base/mpi.cc
source/base/tensor_product_polynomials.cc
source/distributed/tria.cc
source/dofs/dof_handler_policy.cc
source/fe/mapping_q_generic.cc
source/grid/cell_id.cc
source/grid/grid_in.cc
source/grid/grid_tools.cc
source/grid/tria_accessor.cc
source/lac/cuda_sparse_matrix.cu
source/lac/lapack_full_matrix.cc
source/lac/petsc_parallel_sparse_matrix.cc
source/lac/petsc_parallel_vector.cc
source/lac/scalapack.cc
source/lac/sparsity_tools.cc
source/lac/trilinos_sparse_matrix.cc
source/lac/trilinos_sparsity_pattern.cc
source/multigrid/mg_transfer_matrix_free.cc
source/numerics/data_out.cc
source/numerics/data_out_faces.cc
source/numerics/data_out_rotation.cc
source/numerics/kdtree.cc
source/particles/particle_handler.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.