Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tpetra::Vector: Fix deprecated warning (Issue #104)
@trilinos/tpetra Vector::normWeighted is deprecated. It calls its parent class' method MultiVector::normWeighted, which is also deprecated. Even though nothing calls Vector::normWeighted any more, some compilers still emit a deprecated warning when building it, because it calls a deprecated method. This breaks builds that turn on warnings as errors, and also adds useless noise to the build output. This commit reimplements Vector::normWeighted so that it doesn't call MultiVector::normWeighted. This should fix Issue #104. Build/Test Cases Summary Enabled Packages: TpetraCore Disabled Packages: FEI,STK,PyTrilinos,NOX,Teko,Piro 0) MPI_DEBUG => Test case MPI_DEBUG was not run! => Does not affect push readiness! (-1.00 min) 1) SERIAL_RELEASE => Test case SERIAL_RELEASE was not run! => Does not affect push readiness! (-1.00 min) 2) MPI_DEBUG_COMPLEX => passed: passed=85,notpassed=0 (7.06 min) 3) SERIAL_RELEASE => passed: passed=65,notpassed=0 (9.08 min)
- Loading branch information