Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
makgyver committed Mar 17, 2019
1 parent 331c222 commit 5ac125b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PRL/genF.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import random, math
from scipy.special import binom

class GenF():
class GenF(object):
def __init__(self):
pass

Expand Down
2 changes: 1 addition & 1 deletion PRL/genP.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import numpy as np
import random

class GenP():
class GenP(object):
"""Abstract class which representes a generic preference generator.
Every specific generator MUST inherit from this class."""

Expand Down
2 changes: 1 addition & 1 deletion PRL/prl.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

__docformat__ = 'reStructuredText'

class AbstractPRL:
class AbstractPRL(object):
"""Abstract class which contains the necessary methods for a PRL-based algorithm."""

def get_random_pair(self):
Expand Down

0 comments on commit 5ac125b

Please sign in to comment.