Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teuchos: replacing not with ! for MSVC compiler #5190

Merged
merged 1 commit into from
May 16, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/teuchos/comm/src/Teuchos_StackedTimer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ StackedTimer::printLevel (std::string prefix, int print_level, std::ostream &os,
os << " ";
}

if (not options.print_names_before_values) {
if (! options.print_names_before_values) {
std::ostringstream tmp;
tmp << " ";
for (int l=0; l<level; ++l) {
Expand Down Expand Up @@ -467,7 +467,7 @@ StackedTimer::printLevel (std::string prefix, int print_level, std::ostream &os,
tmp << " - "<< (sum_[i]/active_[i]- sub_time)/(sum_[i]/active_[i])*100 << "%";
os << tmp.str();
}
if (not options.print_names_before_values) {
if (! options.print_names_before_values) {
{
size_t offset = 0;
offset += alignments_.count_;
Expand Down Expand Up @@ -512,7 +512,7 @@ StackedTimer::report(std::ostream &os, Teuchos::RCP<const Teuchos::Comm<int> > c
os << "Teuchos::StackedTimer::report() - max_levels manually set to " << options.max_levels
<< ". \nTo print more levels, increase value of OutputOptions::max_levels." << std::endl;
}
if (not options.print_names_before_values and not options.align_columns) {
if ( (! options.print_names_before_values) and (! options.align_columns)) {
options.align_columns = true;
if (options.print_warnings)
os << "Teuchos::StackedTimer::report() - option print_names_before_values=false "
Expand Down