Skip to content

Commit 425f804

Browse files
committed
move news to breaking section
1 parent 124296d commit 425f804

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

NEWS.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ This section lists changes that do not have deprecation warnings.
7373
longer present. Use `first(R)` and `last(R)` to obtain
7474
start/stop. ([#20974])
7575

76+
* `isapprox(x,y)` now tests `norm(x-y) <= max(atol, rtol*max(norm(x), norm(y)))`
77+
rather than `norm(x-y) <= atol + ...` ([#22742]).
78+
7679
* The `Diagonal` type definition has changed from `Diagonal{T}` to
7780
`Diagonal{T,V<:AbstractVector{T}}` ([#22718]).
7881

@@ -132,9 +135,6 @@ Library improvements
132135
* `@test isequal(x, y)` and `@test isapprox(x, y)` now prints an evaluated expression when
133136
the test fails ([#22296]).
134137

135-
* `isapprox(x,y)` now tests `norm(x-y) <= max(atol, rtol*max(norm(x), norm(y)))`
136-
rather than `norm(x-y) <= atol + ...`.
137-
138138
* Uses of `Val{c}` in `Base` has been replaced with `Val{c}()`, which is now easily
139139
accessible via the `@pure` constructor `Val(c)`. Functions are defined as
140140
`f(::Val{c}) = ...` and called by `f(Val(c))`. Notable affected functions include:

0 commit comments

Comments
 (0)