Skip to content
Snippets Groups Projects
Commit 0d07222a authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

try prevent segfault in plotting

parent bc48a159
No related branches found
No related tags found
No related merge requests found
File added
......@@ -1113,11 +1113,12 @@ void NEdif::Plot( CPlot *plot, bool add )
printf( " %u points < ymin\n", nyl );
if( nyh )
printf( " %u points > ymax\n", nyh );
continue;
} else {
plot->plotScan( false, pstyle++,
xp, yp, dyp, *(e->Z(j)),
e->P()->xco.str(), e->P()->yco.str(),
"data file "+strg(k)+" scan "+strg(j) );
"data file " + strg(k) + " scan "+strg(j) );
}
} else if ( fc && fc->kconv!=-1 ) {
// plot only at x points of convolutand
......
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