polynomial: fix compilation.
polynomial: fix test.