In following sentence, I'm not sure if I have to use the -ing form or the infinitive.
I wanted to get rid of X, while at the same time not assuming/ assume that...
The -ing form sounds better, but the infinitive doesn't sound too wrong either. Which one should I prefer?