Skip to content

Commit d0840ec

Browse files
Merge pull request #94 from shahriariravanian/main
moving to v1.3.3
2 parents 435c0a0 + 65581d2 commit d0840ec

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
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 <[email protected]>"]
4-
version = "1.3.5"
4+
version = "1.3.3"
55

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

src/integral.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,9 @@ function integrate_term(eq, x; kwargs...)
230230
if y == nothing
231231
if has_sym_consts
232232
@info("Symbolic integration failed. Try changing constant parameters ([$(join(params, ", "))]) to numerical values.")
233-
return 0, eq, Inf
234233
end
235-
else
236-
return y, 0, 0
234+
235+
return 0, eq, Inf
237236
end
238237
end
239238

src/sparse.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function init_basis_matrix(eq, x, basis; plan = default_plan(), nv = 1)
9494
end
9595
end
9696
catch e
97-
println("Error from init_basis_matrix!: ", e)
97+
println("Error from init_basis_matrix: ", e)
9898
end
9999
l -= 1
100100
end
@@ -216,7 +216,7 @@ function hints(eq, x, basis; plan = default_plan())
216216
end
217217

218218
return h, ε
219-
catch e
219+
catch
220220
# println("Error from hints: ", e)
221221
end
222222

0 commit comments

Comments
 (0)