Bug in CifToSynthesisConverter for resizing value vector
On line 1153 of CifToSynthesisConverter
, it reads:
int len = Math.max(varVec.length(), varVec.length());
it should be
int len = Math.max(varVec.length(), valueVec.length());
As a consequence, whenever the varVec
has less bits than the valueVec
, the valueVec
gets resized and loses important bits.