polyVar, how do get the value for a given x?

It could also be the bug discussed here: