On 11/10/23 17:43, Yuan Wang wrote:
And I just found that the bug comes from feeding Vector<int> to
interpolate_to_different_mesh() while int is not a valid
VectorType::value_type therein. Changing int to double fixes it.

Yes, that is right. We do not seem to enforce this, but we are generally expecting Vector<T> to only be instantiated for T=some floating point type.

Best
 W.

--
------------------------------------------------------------------------
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/bdf2ba4d-87f7-83ae-7f0c-869becccb67c%40colostate.edu.

Reply via email to