From b2c436282ecb4e9f45a03e713597f20d2fa49a2d Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Mon, 17 May 2010 13:05:41 +0200 Subject: [PATCH] fix: init numTS in engine constructor --- FDTD/engine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/FDTD/engine.cpp b/FDTD/engine.cpp index 436377a..c078555 100644 --- a/FDTD/engine.cpp +++ b/FDTD/engine.cpp @@ -31,6 +31,7 @@ Engine* Engine::New(const Operator* op) Engine::Engine(const Operator* op) { + numTS = 0; Op = op; for (int n=0;n<3;++n) numLines[n] = Op->GetOriginalNumLines(n);