There are a few remedys for gas distress ..
one of the oldest is a pill called
Unless you change what you eat, or eat after class, sooner or later someone is going to say something, despite the benefits of gas to put off your training partner, you might soon be asked to leave the room.
"Nobody wants to play with me ...."
Go check with you local pharmacy, I am sure there is something simular in the store.