Skip to content

Commit

Permalink
Return empty
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l authored Oct 10, 2024
1 parent b11fdcc commit f5c73d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/Particle/AMReX_StructOfArrays.H
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ struct StructOfArrays {
return *m_rdata_names;
}
else {
throw std::runtime_error("SoA: no Real names defined!");
return std::vector<std::string>();
}
}

Expand All @@ -71,7 +71,7 @@ struct StructOfArrays {
return *m_idata_names;
}
else {
throw std::runtime_error("SoA: no int names defined!");
return std::vector<std::string>();
}
}

Expand Down

0 comments on commit f5c73d8

Please sign in to comment.