Dear Michal,

You are right, this is a bug and your fix is indeed correct. Would you like to create a pull request fixing it? Here are some basic instructions: http://dealii.org/participate.html including a video lecture. This way you get the proper credit for it.

Best,
Martin


On 08.10.2017 12:38, Michał Wichrowski wrote:
Dear all,
In following line:
line 4545 of /include/deal.II/matrix_free/fe_evaluation.h:
  VectorizedArray<Number> half = make_vectorized_array (0.5);

0.5 is interpreted as double and it leads to using make_vectorized_array<double>. That is OK if Number=double but for any other type (eg. float) it results is compilation error. It should be replaced by:
  VectorizedArray<Number> half = make_vectorized_array<Number> (0.5);

Michał
--
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 [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to