From 659c19e236238e4a9f8e912526d94e440c1c2c3e Mon Sep 17 00:00:00 2001 From: Luke Roberts Date: Tue, 14 May 2024 11:04:24 -0600 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Patrick Mullen <33095288+pdmullen@users.noreply.github.com> --- src/outputs/restart.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/outputs/restart.hpp b/src/outputs/restart.hpp index 345242774aa4..e6d2d0521d3b 100644 --- a/src/outputs/restart.hpp +++ b/src/outputs/restart.hpp @@ -70,9 +70,9 @@ class RestartReader { PARTHENON_REQUIRE_THROWS(allocated != nullptr, "Tried to get allocation status but no data present"); PARTHENON_REQUIRE_THROWS((block >= 0) && (block < num_blocks), - "Invalid block index in SparseInfo::IsAllocated"); + "Invalid block index in SparseInfo:: DeallocCount"); PARTHENON_REQUIRE_THROWS((sparse_field_idx >= 0) && (sparse_field_idx < num_sparse), - "Invalid sparse field index in SparseInfo::IsAllocated"); + "Invalid sparse field index in SparseInfo:: DeallocCount"); return dealloc_count[block * num_sparse + sparse_field_idx]; }