Racy 'Game of Thrones' Nude Scene Almost Nixed From Season 5

Fans of the always titillating fantasy epic Game of Thrones can breathe a sigh of relief.

[Warning: Potential Spoilers Ahead]

Fox News is reporting that a pivotal nude scene from the upcoming Season 5 was almost abolished due to regulations in Dubrovnik, Croatia, the city in which they were filming.

"The local film commission," the article mentioned, "reportedly refused to grant permits in August because a scene calls for the character Cersei -- played by Lena Headey -- to walk out of the Church of St. Nicholas onto the streets naked."

However, the scene is now reportedly back in play due to the quick thinking on the part of the show's producers:

"['Game of Thrones'] found a way to workaround the film board's strict rules; the actress is allowed to walk in her birthday suit in the streets near the church as long as she doesn't enter the place of worship."

Known for it's racy sex scenes and gory violence, Game of Thrones is adept at keeping fans off-guard as to which character will live and die from episode to episode. And while not much is known about who makes it through Season 5 alive -- unless you read the novels of course -- there is one mathematician out there who is using statistics to try and predict the outcome for his favorite Game of Thrones characters.

Wired Magazine is reporting that Richard Vale, a statistics professor from the University of Canterbury is using Bayesian statistics, a field of mathematics, to "predict which characters will receive the most attention in the next two Martin books by analyzing the number of chapters dedicated to each of them in the previous five books."

He told Wired that his experiment didn't start out to create the first mathematical spoiler system. Instead, it was supposed to be a tool for learning for his students.

"I was actually using the data to illustrate some exploratory data analysis techniques in class and I wondered whether you could find out anything interesting by modeling it."

While the results of his experiment are not known to be 100 percent accurate, the death toll will sound in Season 5 of Game of Thrones regardless. Already, spoilers are trickling in -- as reported by Inquisitr -- as to who dies next. Last season, the hated King Joffrey met his end during the highly-applauded "Purple Wedding," while much of the entire Stark clan met their end the season prior in stunning fashion during the disastrous "Red Wedding."