Skip to content

Commit b42057a

Browse files
committed
saner tolerance defaults
1 parent cb07573 commit b42057a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/stress.jl

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,15 @@ The main equation to solve is (8) of:
7272
seed::UInt
7373
end
7474

75-
function Stress(; dim=2, Ptype=Float64, iterations=:auto, abstols=((eps(Float64))),
76-
reltols=((eps(Float64))), abstolx=((eps(Float64))), weights=Array{Float64}(undef, 0, 0),
77-
initialpos=Point{dim,Ptype}[], seed=1)
75+
function Stress(; dim=2,
76+
Ptype=Float64,
77+
iterations=:auto,
78+
abstols=0.0,
79+
reltols=10e-6,
80+
abstolx=10e-6,
81+
weights=Array{Float64}(undef, 0, 0),
82+
initialpos=Point{dim,Ptype}[],
83+
seed=1)
7884
if !isempty(initialpos)
7985
initialpos = Point.(initialpos)
8086
Ptype = eltype(eltype(initialpos))

0 commit comments

Comments
 (0)