Skip to content

Commit

Permalink
Update mod file so that it can be compiled by CoreNEURON
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodk committed Dec 21, 2020
1 parent 8a5642f commit a21e170
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/integration/mod/procedure.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
NEURON {
SUFFIX procedure_test
THREADSAFE
}

PROCEDURE hello_world() {
print("Hello World")
printf("Hello World")
}

PROCEDURE simple_sum(x, y) {
Expand All @@ -20,7 +25,7 @@ PROCEDURE loop_function(v) {
LOCAL i
i = 0
WHILE(i < 10) {
print("Hello World")
printf("Hello World")
i = i + 1
}
}

0 comments on commit a21e170

Please sign in to comment.