Skip to content

Commit

Permalink
IOSS: Fix questionable negation of size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
gsjaardema committed Mar 2, 2024
1 parent da386f1 commit 4ccdfff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/seacas/libraries/ioss/src/Ioss_Map.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright(C) 1999-2023 National Technology & Engineering Solutions
// Copyright(C) 1999-2024 National Technology & Engineering Solutions
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
// NTESS, the U.S. Government retains certain rights in this software.
//
Expand Down Expand Up @@ -360,7 +360,7 @@ void Ioss::Map::set_default(size_t count, size_t offset)
IOSS_FUNC_ENTER(m_);
m_map.resize(count + 1);
std::iota(m_map.begin() + 1, m_map.end(), 1 + offset);
m_offset = -offset;
m_offset = -1 * offset;
set_is_sequential(true);
}

Expand Down

0 comments on commit 4ccdfff

Please sign in to comment.