MAD-X icon indicating copy to clipboard operation
MAD-X copied to clipboard

if condition consistency

Open ldeniau opened this issue 2 years ago • 0 comments

Don't you think that these two tests should be the same?

https://github.com/MethodicalAcceleratorDesign/MAD-X/blob/ec7ceb14d6c5df52556539de1621d1c767b3e70e/src/madx_ptc_twiss.f90#L1327

https://github.com/MethodicalAcceleratorDesign/MAD-X/blob/ec7ceb14d6c5df52556539de1621d1c767b3e70e/src/madx_ptc_twiss.f90#L1542

Found it while fixing another problem concerning this piece of code with PR #1154

ldeniau avatar Jan 10 '23 19:01 ldeniau