mingsongli / acycle

Acycle: Time-series analysis software for research and education
https://acycle.org/
78 stars 25 forks source link

Update specswa.m - BUG FIX #29

Closed CinnabarCHU closed 9 months ago

CinnabarCHU commented 9 months ago

The SWA Program may crash if revmin <= rev1 && revmin <= rev2 so revmin remains original. This bug was detected by Hanyu Zhu during a MT SWA analysis on a hi-res data (~7 m / 1 mm).

Code modification: specswa.m - Line 159 Fixed an "ignored" condition: revmin remains original.