diff --git a/pycbc/inference/models/single_template.py b/pycbc/inference/models/single_template.py
index <HASH>..<HASH> 100644
--- a/pycbc/inference/models/single_template.py
+++ b/pycbc/inference/models/single_template.py
@@ -81,7 +81,8 @@ class SingleTemplate(BaseGaussianNoise):
         #polarization array to marginalize over if num_samples given
         self.pflag = 0
         if polarization_samples is not None:
-            self.polarization = numpy.linspace(0, 2*numpy.pi, polarization_samples)
+            self.polarization = numpy.linspace(0, 2*numpy.pi,
+                                               int(polarization_samples))
             self.pflag = 1
 
         # Calculate high sample rate SNR time series
@@ -146,4 +147,4 @@ class SingleTemplate(BaseGaussianNoise):
         if self.pflag == 0:
             return float(vloglr)
         else:
-            return float(logsumexp(vloglr))
+            return float(logsumexp(vloglr)) - numpy.log(len(vloglr))
fix polarization marginalization normalization in single template model (#<I>)

* fixes for single template model



* cc