Changeset 14309
- Timestamp:
- 08/04/12 10:54:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/smartfact.cc
r14306 r14309 1968 1968 } 1969 1969 1970 if (max< 0 || cnt==0)1970 if (max<=0 || cnt==0) 1971 1971 return make_pair(vector<float>(), make_pair(Time(), 0)); 1972 1972 … … 2088 2088 alt.push_back(vis.first); 2089 2089 culmination[vis.second.first] = make_pair(name, vis.second.second); 2090 } 2091 2092 const pair<vector<float>, pair<Time, float>> lc = GetLightCondition(&pos, &observer, now.JD());2093 if (lc.first.size()>0)2094 {2095 cur.push_back(lc.first);2096 lightcond[lc.second.first] = make_pair(name, lc.second.second);2090 2091 const pair<vector<float>, pair<Time, float>> lc = GetLightCondition(&pos, &observer, now.JD()); 2092 if (lc.first.size()>0) 2093 { 2094 cur.push_back(lc.first); 2095 lightcond[lc.second.first] = make_pair(name, lc.second.second); 2096 } 2097 2097 } 2098 2098
Note:
See TracChangeset
for help on using the changeset viewer.