Skip to content

Commit

Permalink
dot, show
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott committed Mar 19, 2022
1 parent 5b95878 commit 7a9e175
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/DualTest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ ForwardDiff.:≺(::Int, ::Type{TestTag()}) = false
# M is the length of M_PARTIALS, which affects:
# NESTED_FDNUM = Dual{TestTag()}(Dual{TestTag()}(PRIMAL, M_PARTIALS), NESTED_PARTIALS)

@show N M
@test isequal(NESTED_FDNUM, Dual{TestTag()}(Dual{TestTag()}(PRIMAL, M_PARTIALS2), NESTED_PARTIALS2)) == (N == M == 0)
@test isequal(NESTED_FDNUM, NESTED_FDNUM2) == isequal(PRIMAL, PRIMAL2) && (N == M == 0)

Expand Down
1 change: 1 addition & 0 deletions test/HessianTest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module HessianTest
import Calculus

using Test
using LinearAlgebra
using ForwardDiff
using ForwardDiff: Dual, Tag
using StaticArrays
Expand Down

0 comments on commit 7a9e175

Please sign in to comment.