Skip to content

Commit

Permalink
Use new-style class for BaseTopicModel
Browse files Browse the repository at this point in the history
Fixes the TypeError: must be type, not classobj for python 2.x
  • Loading branch information
Assios committed May 13, 2016
1 parent 74cd94c commit 49503f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ptm/base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numpy as np

class BaseTopicModel():
class BaseTopicModel(object):
"""
Attributes
----------
Expand Down

0 comments on commit 49503f3

Please sign in to comment.