Skip to content

Commit 7b3920c

Browse files
Merge pull request #81 from shahriariravanian/main
partial integration message
2 parents 818a981 + d3940cd commit 7b3920c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SymbolicNumericIntegration"
22
uuid = "78aadeae-fbc0-11eb-17b6-c7ec0477ba9e"
33
authors = ["Shahriar Iravanian <siravan@svtsim.com>"]
4-
version = "1.3.2"
4+
version = "1.3.3"
55

66
[deps]
77
DataDrivenDiffEq = "2445eb08-9709-466a-b3fc-47e12bd697a2"

src/integral.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,11 @@ function integrate(eq, x = nothing;
107107
if detailed
108108
return s, u, ε
109109
else
110-
return isequal(s, 0) ? nothing : s
110+
if !isequal(s, 0) && !isequal(u, 0)
111+
@info("Integration is partially successful. Pass `detailed = true` to `integrate` for details")
112+
end
113+
114+
return isequal(s, 0) || !isequal(u, 0) ? nothing : s
111115
end
112116
end
113117

0 commit comments

Comments
 (0)