If you want to make sure that the smell is gone (been there...), remove all the carpet and then paint to seal the floor. I recommend sanding lightly, primer, then paint. This will work, but it just takes some work. The lesson here is NO DAMN CATS!!!!!