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

oixy: treat z as in oi

parent 8706d8c9
No related branches found
No related tags found
No related merge requests found
......@@ -376,8 +376,8 @@ void NOperate::IntXY( string mode )
sout->push_xy( fin->VS(j)->y[icolx],
fin->VS(j)->y[icoly] );
sout->z = fin->VS(j)->z;
if ( nz ) { // new spectrum if jump in any z values
if ( j+1 < fin->nJ() && fin->V[j+1]->z != fin->V[j]->z ) {
if ( nz>2 ) { // new spectrum if jump in other z value
if ( j+1<fin->nJ() && fin->V[j+1]->z[nz-2]->to_r() != fin->V[j]->z[nz-2]->to_r() ) {
fout->V.push_back( move(sout) );
sout = PSpec( new CSpec );
}
......
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