Index: /trunk/FACT++/src/Time.cc
===================================================================
--- /trunk/FACT++/src/Time.cc	(revision 15204)
+++ /trunk/FACT++/src/Time.cc	(revision 15205)
@@ -307,6 +307,8 @@
 {
 #ifdef HAVE_LIBNOVA
+    Nova::LnLatPosn obs = Nova::ORM();
+
     ln_rst_time sun_day;
-    if (ln_get_solar_rst_horizon(JD()-0.5, &Nova::ORM(), horizon, &sun_day)==1)
+    if (ln_get_solar_rst_horizon(JD()-0.5, &obs, horizon, &sun_day)==1)
         throw runtime_error("ln_get_solar_rst_horizon reported the sun to be circumpolar at the coordinates of La Palma!");
 
@@ -314,5 +316,5 @@
         return Time(sun_day.rise);
 
-    if (ln_get_solar_rst_horizon(JD()-1.5, &Nova::ORM(), horizon, &sun_day)==1)
+    if (ln_get_solar_rst_horizon(JD()-1.5, &obs, horizon, &sun_day)==1)
         throw runtime_error("ln_get_solar_rst_horizon reported the sun to be circumpolar at the coordinates of La Palma!");
 
@@ -338,6 +340,8 @@
 {
 #ifdef HAVE_LIBNOVA
+    Nova::LnLatPosn obs = Nova::ORM();
+
     ln_rst_time sun_day;
-    if (ln_get_solar_rst_horizon(JD()-0.5, &Nova::ORM(), horizon, &sun_day)==1)
+    if (ln_get_solar_rst_horizon(JD()-0.5, &obs, horizon, &sun_day)==1)
         throw runtime_error("ln_get_solar_rst_horizon reported the sun to be circumpolar at the coordinates of La Palma!");
 
@@ -345,5 +349,5 @@
         return Time(sun_day.rise);
 
-    if (ln_get_solar_rst_horizon(JD()+0.5, &Nova::ORM(), horizon, &sun_day)==1)
+    if (ln_get_solar_rst_horizon(JD()+0.5, &obs, horizon, &sun_day)==1)
         throw runtime_error("ln_get_solar_rst_horizon reported the sun to be circumpolar at the coordinates of La Palma!");
 
