fix default over sampling

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
pull/17/head
Thorsten Liebig 2016-07-30 22:04:15 +02:00
parent 2dc44df0e6
commit bb3e73f6bf
1 changed files with 1 additions and 3 deletions

View File

@ -715,9 +715,7 @@ bool openEMS::Parse_XML_FDTDSetup(TiXmlElement* FDTD_Opts)
ihelp = 0;
FDTD_Opts->QueryIntAttribute("OverSampling",&ihelp);
if (ihelp<2)
this->SetOverSampling(2);
else
if (ihelp>1)
this->SetOverSampling(ihelp);
// check for cell constant material averaging