There are two very important things to remember when housing pacs in a divided tank. The first is that you need to be absolutely POSITIVE that there is no way either frog can get around/over/under/through the divider. They can be very agile when they are determined to be. I have heard many accounts of Pacmans in similar situations getting to the other side and attacking and/or eating the other frog. The second is to cover the divider with some sort of background so they cannot see each other. When they can see through, they are very likely to try to go after the frog or its food. If determined, they will slam against the glass again and again in an effort to attack their prey. This can cause serious injury to the frog. It's not being jealous; it is being territorial.

Although being the same size makes them less likely to try to eat each other, it is still definitely a possibility. Pacs are notorious for trying to eat things bigger than they should. Even in the wild, there are biologist accounts of finding dead horned frogs with prey larger than themselves still in their mouths. They WILL die trying to eat them. Cover that divider asap!