Convert print to function for Python 3 compatibility. This breaks compatibility for versions of Python < 2.6

This commit is contained in:
Mike Croucher 2015-02-26 08:11:11 +00:00
parent 2ca24a88f5
commit 1521b3e260
10 changed files with 37 additions and 37 deletions

View file

@ -56,7 +56,7 @@ class SparseGP_MPI(SparseGP):
self.N_range = (N_start, N_end)
self.N_list = np.array(N_list)
self.Y_local = self.Y[N_start:N_end]
print 'MPI RANK '+str(self.mpi_comm.rank)+' with the data range '+str(self.N_range)
print('MPI RANK '+str(self.mpi_comm.rank)+' with the data range '+str(self.N_range))
mpi_comm.Bcast(self.param_array, root=0)
self.update_model(True)