Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: LLNL/axom
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7308381aad2e8ae2b23e4ac173ec9fb8271e2772
Choose a base ref
..
head repository: LLNL/axom
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d1e34f5dc3d304e64a540b46b242d56345c06986
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/axom/sidre/core/View.cpp
2 changes: 1 addition & 1 deletion src/axom/sidre/core/View.cpp
Original file line number Diff line number Diff line change
@@ -138,7 +138,7 @@ View* View::allocate(TypeID type, int ndims, const IndexType* shape, int allocID
<< "Could not allocate: specified shape is nullptr.");

IndexType num_elems = 1;
if (shape != nullptr)
if(shape != nullptr)
{
for(int d = 0; d < ndims; ++d)
{