From 50f714c510e63cc6c76fb886aab1e7fca4baea9d Mon Sep 17 00:00:00 2001
From: Christophe Garion <tofgarion@runbox.com>
Date: Fri, 18 Nov 2016 21:18:39 +0100
Subject: [PATCH] theorems: typo

---
 my-theorems.sty | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/my-theorems.sty b/my-theorems.sty
index 1f2f3fb..549a2c3 100644
--- a/my-theorems.sty
+++ b/my-theorems.sty
@@ -22,7 +22,7 @@
 
 % new theorems
 % check if beamer is loaded
-\ifclassloaded{beamer}{
+\@ifclassloaded{beamer}{
   \theoremstyle{definition}
   \newtheorem*{myrule}{\translate{Rule}}
   \newtheorem*{principle}{\translate{Principle}}
-- 
GitLab