Skip to content

MueLu: fix 2664 by using appropriate type for coordinate multi-vector

James Willenbring requested to merge lucbv:MueLu_fix_2664 into develop

Created by: lucbv

@trilinos/muelu @csiefer2 @jhux2

Description

In unit test BlockedRAPFactoryWithDiagonal a multivector holding coordinates is created as RCP, this has been modified to RCP<MultiVector<double,LO,GO,NO> > in order to avoid bad cast when the multivector is extracted from MueLu levels.

Motivation and Context

We need to fix this unit test.

Related Issues

  • Closes 2664

How Has This Been Tested?

I configured locally on of the builds that fails on the dashboard, compiled and ran the MueLu unit tests. They all passed including BlockedRAPFactoryWithDiagonal

Checklist

  • My commit messages mention the appropriate GitHub issue numbers.
  • My code follows the code style of the affected package(s).
  • I have read the code contribution guidelines for this project.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • No new compiler warnings were introduced.

Merge request reports