Skip to content

Commit

Permalink
Small fixes to 0.2.0 version
Browse files Browse the repository at this point in the history
* Fix one deprecated syntax `info`
* Do not allow to fail on Julia v1.0.0
  • Loading branch information
ahojukka5 committed Sep 3, 2018
1 parent 1fe548d commit bf50e9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ julia:

matrix:
allow_failures:
- julia: 1.0
- julia: nightly

after_success:
Expand Down
8 changes: 2 additions & 6 deletions src/mortar2dad.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,8 @@ function project_from_master_to_slave_ad(slave_element::Element{E}, x1_, n1_, x2
end
end

info("x1 = $x1")
info("n1 = $n1")
info("x2 = $x2")
info("xi1 = $xi1, dxi1 = $dxi1")
info("-R(xi1) = $(-R(xi1))")
info("dR(xi1) = $(dR(xi1))")
@error("Projection from master to slave failed with the following data:",
x1, n1, x2, xi1, dxi1, -R(xi1), dR(xi1))
error("find projection from master to slave: did not converge")

end
Expand Down
2 changes: 1 addition & 1 deletion test/test_01.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is a part of JuliaFEM.
# License is MIT: see https://github.com/JuliaFEM/MortarContact2DAD.jl/blob/master/LICENSE

using MortarContact2DAD, Test
using FEMBase, MortarContact2DAD, Test
using MortarContact2DAD: get_slave_dofs, get_master_dofs
using MortarContact2DAD: project_from_master_to_slave_ad, project_from_slave_to_master_ad

Expand Down

0 comments on commit bf50e9d

Please sign in to comment.