Is it more than just eliminating the affair memory? I can do that easy enough. If it requires some other kinds of adjustments, maybe someone can be so kind to explain them or point me to a post that does so.
Yes, you have to go into the sim's relationships panel in SimPE, highlight the deceased spouse, and uncheck the box that says 'married' to his/her late spouse.