Index: sansmodels/src/sans/models/ReflAdvModel.py
===================================================================
--- sansmodels/src/sans/models/ReflAdvModel.py	(revision b1c329583252a790cb87cdc57a1ff238b357d5ba)
+++ sansmodels/src/sans/models/ReflAdvModel.py	(revision 33aea7f36de30ed6b50cca51d327d976211f1547)
@@ -20,5 +20,5 @@
 
 :WARNING: THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
-         DO NOT MODIFY THIS FILE, MODIFY ../c_extensions/refl_adv.h
+         DO NOT MODIFY THIS FILE, MODIFY ..\c_extensions\refl_adv.h
          AND RE-RUN THE GENERATOR SCRIPT
 
@@ -37,5 +37,5 @@
     """ 
     Class that evaluates a ReflAdvModel model. 
-    This file was auto-generated from ../c_extensions/refl_adv.h.
+    This file was auto-generated from ..\c_extensions\refl_adv.h.
     Refer to that file and the structure it contains
     for details of the model.
@@ -45,17 +45,17 @@
          thick_inter0    = 50.0 [A]
          func_inter0     = 0.0 
-         sld_bottom0     = 2.07e-06 [1/A^(2)]
-         sld_medium      = 1e-06 [1/A^(2)]
+         sld_bottom0     = 2.07e-006 [1/A^(2)]
+         sld_medium      = 1e-006 [1/A^(2)]
          background      = 0.0 
-         sld_flat1       = 4e-06 [1/A^(2)]
-         sld_flat2       = 3.5e-06 [1/A^(2)]
-         sld_flat3       = 4e-06 [1/A^(2)]
-         sld_flat4       = 3.5e-06 [1/A^(2)]
-         sld_flat5       = 4e-06 [1/A^(2)]
-         sld_flat6       = 3.5e-06 [1/A^(2)]
-         sld_flat7       = 4e-06 [1/A^(2)]
-         sld_flat8       = 3.5e-06 [1/A^(2)]
-         sld_flat9       = 4e-06 [1/A^(2)]
-         sld_flat10      = 3.5e-06 [1/A^(2)]
+         sld_flat1       = 4e-006 [1/A^(2)]
+         sld_flat2       = 3.5e-006 [1/A^(2)]
+         sld_flat3       = 4e-006 [1/A^(2)]
+         sld_flat4       = 3.5e-006 [1/A^(2)]
+         sld_flat5       = 4e-006 [1/A^(2)]
+         sld_flat6       = 3.5e-006 [1/A^(2)]
+         sld_flat7       = 4e-006 [1/A^(2)]
+         sld_flat8       = 3.5e-006 [1/A^(2)]
+         sld_flat9       = 4e-006 [1/A^(2)]
+         sld_flat10      = 3.5e-006 [1/A^(2)]
          thick_inter1    = 50.0 [A]
          thick_inter2    = 50.0 [A]
Index: sansmodels/src/sans/models/ReflModel.py
===================================================================
--- sansmodels/src/sans/models/ReflModel.py	(revision b1c329583252a790cb87cdc57a1ff238b357d5ba)
+++ sansmodels/src/sans/models/ReflModel.py	(revision 33aea7f36de30ed6b50cca51d327d976211f1547)
@@ -20,5 +20,5 @@
 
 :WARNING: THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
-         DO NOT MODIFY THIS FILE, MODIFY ../c_extensions/refl.h
+         DO NOT MODIFY THIS FILE, MODIFY ..\c_extensions\refl.h
          AND RE-RUN THE GENERATOR SCRIPT
 
@@ -37,5 +37,5 @@
     """ 
     Class that evaluates a ReflModel model. 
-    This file was auto-generated from ../c_extensions/refl.h.
+    This file was auto-generated from ..\c_extensions\refl.h.
     Refer to that file and the structure it contains
     for details of the model.
@@ -45,17 +45,17 @@
          thick_inter0    = 1.0 [A]
          func_inter0     = 0.0 
-         sld_bottom0     = 2.07e-06 [1/A^(2)]
-         sld_medium      = 1e-06 [1/A^(2)]
+         sld_bottom0     = 2.07e-006 [1/A^(2)]
+         sld_medium      = 1e-006 [1/A^(2)]
          background      = 0.0 
-         sld_flat1       = 4e-06 [1/A^(2)]
-         sld_flat2       = 3.5e-06 [1/A^(2)]
-         sld_flat3       = 4e-06 [1/A^(2)]
-         sld_flat4       = 3.5e-06 [1/A^(2)]
-         sld_flat5       = 4e-06 [1/A^(2)]
-         sld_flat6       = 3.5e-06 [1/A^(2)]
-         sld_flat7       = 4e-06 [1/A^(2)]
-         sld_flat8       = 3.5e-06 [1/A^(2)]
-         sld_flat9       = 4e-06 [1/A^(2)]
-         sld_flat10      = 3.5e-06 [1/A^(2)]
+         sld_flat1       = 4e-006 [1/A^(2)]
+         sld_flat2       = 3.5e-006 [1/A^(2)]
+         sld_flat3       = 4e-006 [1/A^(2)]
+         sld_flat4       = 3.5e-006 [1/A^(2)]
+         sld_flat5       = 4e-006 [1/A^(2)]
+         sld_flat6       = 3.5e-006 [1/A^(2)]
+         sld_flat7       = 4e-006 [1/A^(2)]
+         sld_flat8       = 3.5e-006 [1/A^(2)]
+         sld_flat9       = 4e-006 [1/A^(2)]
+         sld_flat10      = 3.5e-006 [1/A^(2)]
          thick_inter1    = 1.0 [A]
          thick_inter2    = 1.0 [A]
Index: sansmodels/src/sans/models/c_extensions/refl.c
===================================================================
--- sansmodels/src/sans/models/c_extensions/refl.c	(revision 839f7e28c011deb396c95d09a5783cbe57a2083b)
+++ sansmodels/src/sans/models/c_extensions/refl.c	(revision 33aea7f36de30ed6b50cca51d327d976211f1547)
@@ -58,5 +58,6 @@
 
 	pi = 4.0*atan(1.0);
-  Xn = cassign(0.0,0.0);
+  	Xn = cassign(0.0,0.0);
+  	one = cassign(1.0,0.0);
 	two = cassign(0.0,-2.0);
 
Index: sansmodels/src/sans/models/c_models/CReflAdvModel.cpp
===================================================================
--- sansmodels/src/sans/models/c_models/CReflAdvModel.cpp	(revision 2605da22e051f79e99c6ee33e4a4abe2b2c68929)
+++ sansmodels/src/sans/models/c_models/CReflAdvModel.cpp	(revision 33aea7f36de30ed6b50cca51d327d976211f1547)
Index: sansmodels/src/sans/models/c_models/CReflModel.cpp
===================================================================
--- sansmodels/src/sans/models/c_models/CReflModel.cpp	(revision 2605da22e051f79e99c6ee33e4a4abe2b2c68929)
+++ sansmodels/src/sans/models/c_models/CReflModel.cpp	(revision 33aea7f36de30ed6b50cca51d327d976211f1547)
