diff --git a/src/kbmod/search/image_stack.cpp b/src/kbmod/search/image_stack.cpp index cf4244a19..0ba33319c 100644 --- a/src/kbmod/search/image_stack.cpp +++ b/src/kbmod/search/image_stack.cpp @@ -47,7 +47,7 @@ float ImageStack::get_zeroed_time(int index) const { std::vector ImageStack::build_zeroed_times() const { std::vector zeroed_times = std::vector(); if (images.size() > 0) { - float t0 = images[0].get_obstime(); + double t0 = images[0].get_obstime(); for (auto& i : images) { zeroed_times.push_back(i.get_obstime() - t0); }