Skip to content

Commit

Permalink
Fix deprecations (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
femtocleaner[bot] authored and ahojukka5 committed Jul 4, 2018
1 parent b5f1f30 commit 5068c84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/calculate_projections.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ xm2 = [4.0, -2.0]
xs = [0.0, 0.0]
ns = [3.0/5.0, -4.0/5.0]
xi2 = project_from_slave_to_master(Val{:Seg2}, xs, ns, xm1, xm2)
round(xi2, 6)
round(xi2, digits=6)
# output
Expand Down Expand Up @@ -51,7 +51,7 @@ xs2 = [4.0, 3.0]
ns1 = [3.0/5.0, -4.0/5.0]
ns2 = sqrt(2)/2*[1, -1]
xi1 = project_from_master_to_slave(Val{:Seg2}, xm, xs1, xs2, ns1, ns2)
round(xi1, 6)
round(xi1, digits=6)
# output
Expand Down

0 comments on commit 5068c84

Please sign in to comment.