Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahm-LANL committed Nov 14, 2023
1 parent 2955479 commit 5adb6dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spiner/databox.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class DataBox {

DataBox<T, Grid_t, Concept>
getOnDevice() const { // getOnDevice is always a deep copy
if (size == 0 || status_ == DataStatus::Empty) { // edge case for unallocated
if (size() == 0 || status_ == DataStatus::Empty) { // edge case for unallocated
DataBox<T, Grid_t, Concept> a;
return a;
}
Expand Down

0 comments on commit 5adb6dc

Please sign in to comment.