Skip to content
Snippets Groups Projects
Commit 25f1f8e4 authored by Hkorb's avatar Hkorb
Browse files

fix bug from last commit

parent 4916fdd2
No related branches found
No related tags found
1 merge request!170Kernel templetization and efficiency improvements
......@@ -275,7 +275,7 @@ void GridGenerator::allocArrays_BoundaryValues()
for(auto reader : para->getParH(level)->velocityReader)
{
if(reader->getNumberOfQuantities() != para->getParD(level)->precursorBC.numberOfQuantities) throw std::exception("Number of quantities in reader and number of quantities needed for precursor don't match!");
if(reader->getNumberOfQuantities() != para->getParD(level)->precursorBC.numberOfQuantities) throw std::runtime_error("Number of quantities in reader and number of quantities needed for precursor don't match!");
}
cudaMemoryManager->cudaCopyPrecursorBC(level);
......
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