I see. That's my newbie mistake. Thanks again for pointing out the root of the problem.
Best, --Xuefeng Li, (504)865-3340(phone) Chair, Department of Mathematics and Computer Science Like floating clouds, the heart rests easy Like flowing water, the spirit stays free Loyola University New Orleans New Orleans, Louisiana (504)865-2051(fax) On Sun, Feb 16, 2025 at 12:18 AM Praveen C <cprav...@gmail.com> wrote: > 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: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 > <https://groups.google.com/d/msgid/dealii/EC795410-00E9-44BF-B001-46E181C08CB7%40gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CAO2HPGXNWtxBT6Y4HEtMJK14bu2gDxdYBme7dJutX-daVVd%3Dnw%40mail.gmail.com.