Dragan,
Here is the patch. I added one more change in functions Vector<Number>::reinit:
if (omit_zeroing_entries == false)
*this = static_cast<Number>(0);
The line above fails if the Number type is not primitive. If it is a class it
can't cast. So it could be:
if (omit_zeroing_entries == false)
*this = Number(0);
Therefore it will call a constructor or simply create a primitive type. I do
not know if there are some ramifications of changing that line.
Please have a look.
Yes, all of this looks correct. I think the *declaration* of these explicit
specializations should be moved to the bottom of the .h file, though.
Do you know how to use github? This would make sure that you get credit for
the patch, as you should! If you want to learn how to use it, take a look at
lecture 32.8 here:
http://www.math.colostate.edu/~bangerth/videos.html
If you want me to apply the patch, just say so, and that's ok with me as well.
Best
Wolfgang
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.