fix incidental ERROR 7
Merge https://github.com/ChenShuang/min2phase into min2phase