On 10/25/2017 06:43 PM, Michael wrote:
/home/superman/software/dealii-8.5.0/include/deal.II/lac/chunk_sparse_matrix.templates.h: In
instantiation of ‘somenumber dealii::ChunkSparseMatrix<number>::matrix_norm_square(const
dealii::Vector<somenumber>&) const [with somenumber = double; number = double]’:
/home/superman/software/dealii-8.5.0/build/source/lac/chunk_sparse_matrix.inst:64:58:
required from here
/home/superman/software/dealii-8.5.0/include/deal.II/lac/chunk_sparse_matrix.templates.h:856:56:
error: cannot convert ‘const std::unique_ptr<unsigned int []>’ to ‘const
size_type* {aka const unsigned int*}’ in initialization
const size_type *colnum_ptr = cols->sparsity_pattern.colnums;
^~~~~~~
Something is rather messed up here. colnums is a std::unique_ptr, but has only
been since July 17. But in the same commit that changed colnums to a
unique_ptr, I also changed the line in question to
const size_type *colnum_ptr = cols->sparsity_pattern.colnums.get();
In other words, the files
include/deal.II/lac/sparsity_pattern.h
include/deal.II/lac/chunk_sparse_matrix.templates.h
in your tree are not both at the same state -- one appears to be a development
version from after July 17, the other one from before.
Something must have gotten out of whack when you updated from github. Try
again with a clean directory.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bange...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.