Commit 4380914b authored by Rishab Arora's avatar Rishab Arora

Tweaked fuzzy match to .1 parsec

parent 2fef6348
......@@ -232,8 +232,8 @@ int CatalogDB::FindFuzzyEntry(const double ra, const double dec,
QSqlTableModel dsoentries(0, skydb_);
QString filter =
"((RA - " + QString().setNum(ra) + ") between -0.1 and 0.1) and "
"((Dec - " + QString().setNum(dec) + ") between -0.1 and 0.1) and"
"((RA - " + QString().setNum(ra) + ") between -0.0016 and 0.0016) and "
"((Dec - " + QString().setNum(dec) + ") between -0.0016 and 0.0016) and"
"((Magnitude - " + QString().setNum(magnitude) + ") between -0.1 and 0.1)";
// kDebug() << filter;
dsoentries.setTable("DSO");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment