We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5963a5b + 621e7ac commit c38ab96Copy full SHA for c38ab96
src/deprecations.jl
@@ -175,5 +175,5 @@ macro brownian(xs...)
175
return quote
176
Base.depwarn("`@brownian` is deprecated. Use `@brownians` instead", :brownian_macro)
177
$(@__MODULE__).@brownians $(xs...)
178
- end
+ end |> esc
179
end
test/sdesystem.jl
@@ -948,4 +948,8 @@ end
948
949
@testset "`@brownian` is deprecated" begin
950
@test_deprecated @brownian a b c
951
+
952
+ @brownian p q
953
+ @test ModelingToolkit.isbrownian(p)
954
+ @test ModelingToolkit.isbrownian(q)
955
0 commit comments