fixed wrong assertion of stat::entropy