Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
metelkin committed Jul 23, 2020
1 parent 4c570cc commit d3017b4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- fix bug with "not a deep clone in Expression"
- fix bug with empty period in Matlab
- include correct description of TimeSwitcher in Julia
- update structure of Julia format

## 0.5.7

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "heta-compiler",
"version": "0.5.7",
"version": "0.5.8",
"description": "Programming platform for Quantitative Systems Pharmacology modeling in NodeJS",
"main": "src/index.js",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion src/templates/model.jl.njk
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function {{ event.switcher.id }}_times_(cons, times = [0.0, 100.0])
end
{%- endfor %}

### event assignments
### discrete events
{% for event in events | filter2('switcher.className', 'DSwitcher') -%}
function {{ event.switcher.id }}_trigger_(u, t, integrator)
cons = integrator.p.constants
Expand All @@ -181,6 +181,7 @@ function {{ event.switcher.id }}_trigger_(u, t, integrator)
end
{%- endfor %}

### continous events
{% for event in events | filter2('switcher.className', 'CSwitcher') -%}
function {{ event.switcher.id }}_condition_(u, t, integrator)
cons = integrator.p.constants
Expand All @@ -206,6 +207,7 @@ function {{ event.switcher.id }}_condition_(u, t, integrator)
end
{%- endfor %}

### event assignments
{% for event in events -%}
function {{event.switcher.id}}_assignment_(integrator)
cons = integrator.p.constants
Expand Down

0 comments on commit d3017b4

Please sign in to comment.