Skip to content

Commit 883baa8

Browse files
committed
Remove @warn in triangular source
1 parent 55668b1 commit 883baa8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Blocks/sources.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,6 @@ Generate smooth triangular signal for frequencies less than or equal to 25 Hz
325325
function Triangular(; name, amplitude=1.0, frequency=1.0,
326326
offset=0.0, start_time=0.0, smooth=false)
327327

328-
if smooth
329-
frequency > 25 && @warn "`frequency > 25` can lead to non-triangular wave pattern"
330-
end
331-
332328
@named output = RealOutput()
333329
pars = @parameters begin
334330
amplitude=amplitude

0 commit comments

Comments
 (0)