Maybe the clue is already in the error message

> On 16 Feb 2025, at 8:59 AM, 'Xuefeng Li' via deal.II User Group 
> <dealii@googlegroups.com> wrote:
> 
> /home/li/cbrc01.cc:1378 <http://cbrc01.cc:1378/>:8: error: no match for 
> ‘operator*=’ (operand types are ‘const dealii::TrilinosWrappers::MPI::Vector’ 
> and ‘int’)
>  1378 |     um *= -1;


Your um seems to be declared const in this context.

best
praveen

-- 
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.
To view this discussion visit 
https://groups.google.com/d/msgid/dealii/EC795410-00E9-44BF-B001-46E181C08CB7%40gmail.com.

Reply via email to