Skip to content

Commit 6e6f43b

Browse files
committed
update
1 parent c1e8e45 commit 6e6f43b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/chemistry_functionality.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ function make_compound(expr)
7070
# Currently, non-t independent variables are not supported for compounds. If there are any like these, we throw an error:
7171
non_t_iv_error_check_expr = Expr(:escape, :(issetequal(unique(reduce(vcat, arguments.(ModelingToolkit.unwrap.($components)))), [t]) || error("Currently, compounds depending on components that are not \"t\" are not supported.")))
7272

73-
println(non_t_iv_error_check_expr)
74-
7573
# Returns the rephrased expression.
7674
return quote
7775
$non_t_iv_error_check_expr

test/miscellaneous_tests/reaction_balancing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ end
326326
# @reaction k, Al2(SO4)3 + 3Ca(OH)2 → 2Al(OH)3 + 3CaSO4
327327
let
328328
@variables t
329-
@species Al(t) S(t) O(t) Ca(t) O(t) (H)
329+
@species Al(t) S(t) O(t) Ca(t) O(t) H(t)
330330
@compound Al2S3O12 ~ 2Al + 3S + 12O
331331
@compound CaO2H2 ~ Ca + 2O + 2H
332332
@compound AlO3H3 ~ Al + 3O + 3H

0 commit comments

Comments
 (0)