Skip to content

Commit

Permalink
Fix precision error
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremykubica committed Feb 2, 2024
1 parent 0185ca8 commit 0119b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kbmod/search/image_stack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ float ImageStack::get_zeroed_time(int index) const {
std::vector<float> ImageStack::build_zeroed_times() const {
std::vector<float> zeroed_times = std::vector<float>();
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);
}
Expand Down

0 comments on commit 0119b7c

Please sign in to comment.