Commit 6c441e9
committed
Resolve merge conflict and validate boundaries
Clean up merge conflict in src/solar_zodiac.cpp: remove duplicated code, add a check that build_boundaries produced at least two entries (throwing a runtime_error if not), and use the JD_EPSILON constant for the in-year interval comparison instead of a hardcoded 1e-12. This prevents processing with insufficient boundary data and standardizes the epsilon usage.1 parent 7708211 commit 6c441e9
1 file changed
+4
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
157 | 160 | | |
158 | 161 | | |
159 | 162 | | |
| |||
167 | 170 | | |
168 | 171 | | |
169 | 172 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | 173 | | |
183 | 174 | | |
184 | 175 | | |
| |||
0 commit comments