Fix return value of deprecated `equalize` function.
Merge pull request #439 from tonysyu/fix-equalize

Fix return value of deprecated `equalize` function.