move warning in wrong line to the right one
add small test
bugfix libdai sum-prod-marginals