We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ef2a2 commit d442c3fCopy full SHA for d442c3f
src/intervals/rounding.jl
@@ -268,9 +268,24 @@ function setrounding(::Type{Interval}, rounding_type::Symbol)
268
269
# check
270
lines = readlines(path)
271
+
272
+ # print(lines)
273
274
for line in lines
275
276
+ if line == ""
277
+ continue
278
+ end
279
280
if !startswith(line, "WARNING: Method definition")
- error(line)
281
282
+ if startswith(line, "WARNING") || startswith(line, "Use")
283
+ warn(line)
284
285
+ else
286
+ println("Error on line: ", line)
287
+ error(line)
288
289
end
290
291
@@ -281,6 +296,7 @@ end
296
rounding(Interval) = current_rounding_type[]
297
298
299
300
# default: correct rounding
301
const current_rounding_type = Symbol[:undefined]
302
setrounding(Interval, :tight)
0 commit comments