Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LCSB-BioCore
SBML.jl
Commits
cdff14e2
Commit
cdff14e2
authored
Jul 10, 2021
by
Miroslav Kratochvil
🚴
Browse files
constructively break the tests
parent
b276ed48
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/symbolics.jl
View file @
cdff14e2
...
...
@@ -114,7 +114,7 @@ function Base.convert(
convert_time
=
(
x
::
SBML
.
MathTime
)
->
Num
(
Variable
(
Symbol
(
x
.
id
)))
.
val
,
convert_const
=
(
x
::
SBML
.
MathConst
)
->
Num
(
default_symbolics_constants
[
x
.
id
]),
)
conv
(
x
::
SBML
.
MathApply
)
=
eval
(
allowed_sym
(
x
.
fn
,
mapping
))(
conv
.
(
x
.
args
)
...
)
conv
(
x
::
SBML
.
MathApply
)
=
Num
(
eval
(
allowed_sym
(
x
.
fn
,
mapping
))(
conv
.
(
x
.
args
)
...
)
)
conv
(
x
::
SBML
.
MathTime
)
=
convert_time
(
x
)
conv
(
x
::
SBML
.
MathConst
)
=
convert_const
(
x
)
conv
(
x
::
SBML
.
MathIdent
)
=
Num
(
Variable
(
Symbol
(
x
.
id
)))
.
val
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment