Skip to content

Commit

Permalink
Merge pull request #453 from dirac-institute/precision
Browse files Browse the repository at this point in the history
Fix precision error
  • Loading branch information
jeremykubica authored Feb 3, 2024
2 parents 0185ca8 + 0119b7c commit d59f14e
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 d59f14e

Please sign in to comment.