Skip to content
Snippets Groups Projects
Commit c6819a02 authored by Sreekanth Arikatla's avatar Sreekanth Arikatla
Browse files

Merge branch 'QuickFix' into 'master'

BUG: Debug fix

See merge request iMSTK/iMSTK!427
parents fb36aa53 6d95d307
No related branches found
No related tags found
No related merge requests found
......@@ -254,8 +254,8 @@ SPHModel::normalizeDensity()
if (m_modelParameters->m_bDensityWithBoundary)
{
//const auto& BDNeighborList = getState().getBoundaryNeighborLists()[p];
#if defined(DEBUG) || defined(_DEBUG) || !defined(NDEBUG)
const auto& BDNeighborList = getState().getBoundaryNeighborLists()[p];
LOG_IF(FATAL, (fluidNeighborList.size() + BDNeighborList.size() != neighborInfo.size()))
<< "Invalid neighborInfo computation";
#endif
......
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