buxfix dualdecomposition with float and unittest with float