From bcebe7560ea6c27ce4e958b245c651a0bc913282 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Mon, 10 Apr 2017 23:30:56 -0400 Subject: [PATCH] fix typo in Air.cpp --- src/simulation/Air.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/simulation/Air.cpp b/src/simulation/Air.cpp index c928fdd5a..81bb26736 100644 --- a/src/simulation/Air.cpp +++ b/src/simulation/Air.cpp @@ -359,8 +359,8 @@ Air::Air(Simulation & simulation): { //Simulation should do this. make_kernel(); - std::fill(&bmap_blockair[0][0], &bmap_blockairh[0][0]+((XRES/CELL)*(YRES/CELL)), 0); - std::fill(&bmap_blockairh[0][0], &bmap_blockair[0][0]+((XRES/CELL)*(YRES/CELL)), 0); + std::fill(&bmap_blockair[0][0], &bmap_blockair[0][0]+((XRES/CELL)*(YRES/CELL)), 0); + std::fill(&bmap_blockairh[0][0], &bmap_blockairh[0][0]+((XRES/CELL)*(YRES/CELL)), 0); std::fill(&vx[0][0], &vx[0][0]+((XRES/CELL)*(YRES/CELL)), 0.0f); std::fill(&ovx[0][0], &ovx[0][0]+((XRES/CELL)*(YRES/CELL)), 0.0f); std::fill(&vy[0][0], &vy[0][0]+((XRES/CELL)*(YRES/CELL)), 0.0f);