bug fix in the add dumping inference when the log space is used.