函数adapthistteq