Skip to content

Commit 0913cb2

Browse files
committed
Add Codecov badge
1 parent 82e0594 commit 0913cb2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# FiniteDiff
22

33
[![Build Status](https://travis-ci.org/JuliaDiff/FiniteDiff.jl.svg?branch=master)](https://travis-ci.org/JuliaDiff/FiniteDiff.jl)
4+
[![codecov](https://codecov.io/gh/JuliaDiff/FiniteDiff.jl/branch/master/graph/badge.svg?token=PnBAscoOiU)](https://codecov.io/gh/JuliaDiff/FiniteDiff.jl)
45

56
This package is for calculating derivatives, gradients, Jacobians, Hessians,
67
etc. numerically. This library is for maximizing speed while giving a usable

test/out_of_place_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ J = FiniteDiff.finite_difference_jacobian(f, x, Val{:forward}, eltype(x),
3434
@test J second_derivative_stencil(30)
3535
@test typeof(J) == typeof(spJ)
3636

37-
f = x -> x
37+
f(x) = x
3838
@testset "1x1 test of $x" for
3939
(x, y) in ((SVector{1}([1.]), SMatrix{1,1}), ([1.0], Matrix)),
4040
difftype in (:forward, :central, :complex)

0 commit comments

Comments
 (0)