diff --git a/batman/transitmodel.py b/batman/transitmodel.py
index <HASH>..<HASH> 100644
--- a/batman/transitmodel.py
+++ b/batman/transitmodel.py
@@ -133,7 +133,7 @@ class TransitModel(object):
 				if nthreads > multiprocessing.cpu_count(): raise Exception("Maximum number of threads is "+'{0:d}'.format(multiprocessing.cpu_count()))
 				elif nthreads <= 1: raise Exception("Number of threads must be between 2 and {0:d}".format(multiprocessing.cpu_count()))
 				else: raise Exception("OpenMP not enabled: do not set the nthreads parameter")
-                self.ds = _rsky._rsky(self.t_supersample, params.t0, params.per, params.a, params.inc*pi/180., params.ecc, params.w*pi/180., self.transittype, self.nthreads)
+		self.ds = _rsky._rsky(self.t_supersample, params.t0, params.per, params.a, params.inc*pi/180., params.ecc, params.w*pi/180., self.transittype, self.nthreads)
 
 	def calc_err(self, plot = False):
 		"""
correct tab/spacing inconsistency