Skip to content

Commit

Permalink
MueLu: fix #2664 for std::complex using a cast in parameter list
Browse files Browse the repository at this point in the history
This commit provides a simple fix to the error in the BlockedRepartition
unit test when std::complex is on. This should remove the last error on the
dashboard related to PR #2561
  • Loading branch information
lucbv committed May 3, 2018
1 parent 13e922d commit 2189d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/muelu/test/unit_tests/BlockedRepartition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ namespace MueLuTests {
// Smoothers
RCP<BlockedGaussSeidelSmoother> smootherPrototype = rcp( new BlockedGaussSeidelSmoother() );
smootherPrototype->SetParameter("Sweeps", Teuchos::ParameterEntry(2));
smootherPrototype->SetParameter("Damping factor", Teuchos::ParameterEntry(1.0));
smootherPrototype->SetParameter("Damping factor", Teuchos::ParameterEntry((SC) 1.0));
smootherPrototype->AddFactoryManager(M11,0);
smootherPrototype->AddFactoryManager(M22,1);
RCP<SmootherFactory> smootherFact = rcp( new SmootherFactory(smootherPrototype) );
Expand Down

0 comments on commit 2189d2a

Please sign in to comment.