trilinos / Trilinos

Primary repository for the Trilinos Project
https://trilinos.org/
Other
1.22k stars 568 forks source link

Tpetra::Vector::normWeighted emits a deprecated warning #104

Closed mhoemmen closed 8 years ago

mhoemmen commented 8 years ago

@trilinos/tpetra

Tpetra::Vector::normWeighted is deprecated. There's nothing wrong with deprecation. However, the method 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.

mhoemmen commented 8 years ago

I don't see this build warning on the Dashboard any more, so I'm closing the issue.