Fix duplicate w_POWER definition

Fix duplicate w_POWER definition and some house keeping. Tested the new
commit by @AngelaMarchi from #87, all results are the same as version
2.1.
This commit is contained in:
Elad Salomons
2016-11-09 16:37:57 +02:00
parent bca5409952
commit e1da9bc9d7
4 changed files with 5 additions and 35 deletions

View File

@@ -421,7 +421,8 @@ int saveinpfile(char *fname)
}
}
/*moved after control section */
/* Write [RULES] section */
fprintf(f, "\n\n[RULES]");
for (i=1; i<=Nrules; i++)
{
@@ -429,8 +430,6 @@ int saveinpfile(char *fname)
errcode = writeRuleinInp(f, i);
fprintf(f, "\n");
}
//fprintf(f, "\n\n");
/* end move after control section */
/* Write [QUALITY] section */
/* (Skip nodes with default quality of 0) */
@@ -635,17 +634,6 @@ int saveinpfile(char *fname)
}
fprintf(f, "\n\n");
/*moved after control section
fprintf(f, "\n\n[RULES]");
for (i=1; i<=Nrules; i++)
{
fprintf(f, "\nRULE %s",Rule[i].label);
errcode = writeRuleinInp(f, i);
fprintf(f, "\n");
}
fprintf(f, "\n\n");
end move after control section */
/* Write [COORDINATES] section */
if (Coordflag == TRUE)