Skip to content
Snippets Groups Projects
Commit bb53fef1 authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Fix compile error.

parent 93eeb23d
No related branches found
Tags ukaea/high-dim/d2
No related merge requests found
Pipeline #3814 canceled
......@@ -3,7 +3,7 @@ ADD_NEKTAR_EXECUTABLE(TensorBwdTrans
ADD_NEKTAR_EXECUTABLE(TensorIProductWRTBase
COMPONENT demos DEPENDS TensorRegions SOURCES IProductWRTBase.cpp)
ADD_NEKTAR_EXECUTABLE(TensorDomain
COMPONENT demos DEPENDS TensorRegions SOURCES Domain.cpp)
ADD_NEKTAR_EXECUTABLE(TensorProject
COMPONENT demos DEPENDS TensorRegions SOURCES Project.cpp)
ADD_NEKTAR_TEST(BwdTransM0)
\ No newline at end of file
ADD_NEKTAR_TEST(BwdTransM0)
......@@ -88,9 +88,10 @@ int main(int argc, char *argv[])
cout << endl;
}
//TensorRegions::TensorRegionStorage diff = *str - *stp;
TensorRegions::TensorRegionStorageSharedPtr diff = tr.AllocateStorage(TensorRegions::TensorRegionStorage::ePhys);
*diff = *str - *stp;
cout << tr.Integral(*stp) << endl;
cout << tr.Integral(*str) << endl;
//cout << tr.Integral(diff) << endl;
cout << tr.Integral(*diff) << endl;
return 0;
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment