Skip to content

Commit

Permalink
update to package version
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSiebert1 committed Jan 29, 2024
1 parent e9c1582 commit ad2f4c8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
10 changes: 6 additions & 4 deletions examples/abs_normal.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include("../src/ADOLC.jl")
using .ADOLC.AdoubleModule
using .ADOLC
using ADOLC
using ADOLC.AdoubleModule


enableMinMaxUsingAbs()

Expand Down Expand Up @@ -46,4 +46,6 @@ using Test
@test abs_normal_problem.L[1, 1] == 0.0
@test abs_normal_problem.L[1, 2] == 0.0
@test abs_normal_problem.L[2, 1] == 0.0
@test abs_normal_problem.L[2, 2] == 0.0
@test abs_normal_problem.L[2, 2] == 0.0

print(abs_normal_problem.L[2, 2])
6 changes: 3 additions & 3 deletions examples/forward_reverse.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include("../src/ADOLC.jl")
using .ADOLC.array_types
using .ADOLC.AdoubleModule

using ADOLC.array_types
using ADOLC.AdoubleModule


n = 4
Expand Down
4 changes: 2 additions & 2 deletions examples/gradient.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include("../src/ADOLC.jl")
using .ADOLC.AdoubleModule

using ADOLC.AdoubleModule

function chained_lq(x)
return (
Expand Down
1 change: 0 additions & 1 deletion src/AdoubleModule.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module AdoubleModule

function __init__()
@initcxx
println("init adouble")
end

# convient inits for vector of independant and dependant
Expand Down

0 comments on commit ad2f4c8

Please sign in to comment.