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
b00edcbe
Commit
b00edcbe
authored
Aug 03, 2021
by
Miroslav Kratochvil
🚴
Browse files
juliaformatter
parent
aa73c957
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/math.jl
View file @
b00edcbe
...
...
@@ -58,7 +58,10 @@ function parse_math(ast::VPtr)::Math
elseif
ast_is
(
ast
,
:
ASTNode_isInteger
)
return
MathVal
(
ccall
(
sbml
(
:
ASTNode_getInteger
),
Cint
,
(
VPtr
,),
ast
))
elseif
ast_is
(
ast
,
:
ASTNode_isRational
)
return
MathVal
(
ccall
(
sbml
(
:
ASTNode_getNumerator
),
Cint
,
(
VPtr
,),
ast
)
//
ccall
(
sbml
(
:
ASTNode_getDenominator
),
Cint
,
(
VPtr
,),
ast
))
return
MathVal
(
ccall
(
sbml
(
:
ASTNode_getNumerator
),
Cint
,
(
VPtr
,),
ast
)
//
ccall
(
sbml
(
:
ASTNode_getDenominator
),
Cint
,
(
VPtr
,),
ast
),
)
elseif
ast_is
(
ast
,
:
ASTNode_isReal
)
return
MathVal
(
ccall
(
sbml
(
:
ASTNode_getReal
),
Cdouble
,
(
VPtr
,),
ast
))
elseif
ast_is
(
ast
,
:
ASTNode_isFunction
)
...
...
test/data/
units
.xml
→
test/data/
custom
.xml
View file @
b00edcbe
File moved
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