Changeset 14310
- Timestamp:
- 08/04/12 11:13:45 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/smartfact.cc
r14309 r14310 1971 1971 return make_pair(vector<float>(), make_pair(Time(), 0)); 1972 1972 1973 return make_pair(vec, make_pair(maxjd, maxjd>jd+jd0&&maxjd<jd+jd1?max: 0));1973 return make_pair(vec, make_pair(maxjd, maxjd>jd+jd0&&maxjd<jd+jd1?max:-1)); 1974 1974 } 1975 1975 #endif … … 2041 2041 out4 << now.JavaDate() << '\n'; 2042 2042 2043 m ap<Time, pair<string, float>> culmination;2044 m ap<Time, pair<string, float>> lightcond;2043 multimap<Time, pair<string, float>> culmination; 2044 multimap<Time, pair<string, float>> lightcond; 2045 2045 vector<vector<float>> alt; 2046 2046 vector<vector<float>> cur; … … 2055 2055 { 2056 2056 alt.push_back(vism.first); 2057 culmination [vism.second.first] = make_pair("Moon", vism.second.second);2057 culmination.insert(make_pair(vism.second.first, make_pair("Moon", vism.second.second))); 2058 2058 } 2059 2059 #endif … … 2087 2087 { 2088 2088 alt.push_back(vis.first); 2089 culmination [vis.second.first] = make_pair(name, vis.second.second);2089 culmination.insert(make_pair(vis.second.first, make_pair(name, vis.second.second))); 2090 2090 2091 2091 const pair<vector<float>, pair<Time, float>> lc = GetLightCondition(&pos, &observer, now.JD()); … … 2093 2093 { 2094 2094 cur.push_back(lc.first); 2095 lightcond [lc.second.first] = make_pair(name, lc.second.second);2095 lightcond.insert(make_pair(lc.second.first, make_pair(name, lc.second.second))); 2096 2096 } 2097 2097 } 2098 2099 //out3 << vis.second.first << "/" << vis.second.second << " ";2100 2098 2101 2099 string col = HTML::kWhite;
Note:
See TracChangeset
for help on using the changeset viewer.