Skip to content

Commit d1c3f04

Browse files
committed
change 1.0 to 1
1 parent 90cc0b2 commit d1c3f04

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/callbacks.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ ContinuousCallback(condition,affect!,affect_neg!;
9999
rootfind=true,
100100
save_positions=(true,true),
101101
interp_points=10,
102-
dtrelax=1.0,
102+
dtrelax=1,
103103
abstol=10eps(),reltol=0) = ContinuousCallback(
104104
condition,affect!,affect_neg!,initialize,
105105
idxs,
@@ -114,7 +114,7 @@ function ContinuousCallback(condition,affect!;
114114
save_positions=(true,true),
115115
affect_neg! = affect!,
116116
interp_points=10,
117-
dtrelax=1.0,
117+
dtrelax=1,
118118
abstol=10eps(),reltol=0)
119119

120120
ContinuousCallback(
@@ -192,7 +192,7 @@ VectorContinuousCallback(condition,affect!,affect_neg!,len;
192192
rootfind=true,
193193
save_positions=(true,true),
194194
interp_points=10,
195-
dtrelax=1.0,
195+
dtrelax=1,
196196
abstol=10eps(),reltol=0) = VectorContinuousCallback(
197197
condition,affect!,affect_neg!,len,
198198
initialize,
@@ -208,7 +208,7 @@ function VectorContinuousCallback(condition,affect!,len;
208208
save_positions=(true,true),
209209
affect_neg! = affect!,
210210
interp_points=10,
211-
dtrelax=1.0,
211+
dtrelax=1,
212212
abstol=10eps(),reltol=0)
213213

214214
VectorContinuousCallback(

0 commit comments

Comments
 (0)