From 49503f39e1f9d376494aefbd85c1e03d8a5ae134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Ottesen=20Steinskog?= Date: Fri, 13 May 2016 16:29:27 +0200 Subject: [PATCH] Use new-style class for BaseTopicModel Fixes the TypeError: must be type, not classobj for python 2.x --- ptm/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ptm/base.py b/ptm/base.py index cfd2a00..af9d6a3 100644 --- a/ptm/base.py +++ b/ptm/base.py @@ -1,6 +1,6 @@ import numpy as np -class BaseTopicModel(): +class BaseTopicModel(object): """ Attributes ----------