Skip to content

Commit bf52e9f

Browse files
committed
use Python3 print and division.
Former-commit-id: b1a3914
1 parent 2d7d1d0 commit bf52e9f

6 files changed

Lines changed: 12 additions & 0 deletions

File tree

python/example1-lgss.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
#
2222
##############################################################################
2323

24+
from __future__ import print_function, division
25+
2426
# Import libraries
2527
import matplotlib.pylab as plt
2628
import numpy as np

python/example2-lgss.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#
2121
##############################################################################
2222

23+
from __future__ import print_function, division
24+
2325
# Import libraries
2426
import matplotlib.pylab as plt
2527
import numpy as np

python/example3-sv.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#
2121
##############################################################################
2222

23+
from __future__ import print_function, division
24+
2325
# Import libraries
2426
import matplotlib.pylab as plt
2527
import quandl

python/helpers/dataGeneration.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#
2121
##############################################################################
2222

23+
from __future__ import print_function, division
24+
2325
import numpy as np
2426
from numpy.random import randn
2527

python/helpers/parameterEstimation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#
2121
##############################################################################
2222

23+
from __future__ import print_function, division
24+
2325
import numpy as np
2426
from numpy.random import randn, uniform, multivariate_normal
2527
from scipy.stats import gamma, norm

python/helpers/stateEstimation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#
2121
##############################################################################
2222

23+
from __future__ import print_function, division
24+
2325
import numpy as np
2426
from numpy.random import randn, choice
2527
from scipy.stats import norm

0 commit comments

Comments
 (0)