Skip to content

Commit fe80f74

Browse files
committed
support function pointers in multiphase
1 parent 2b53421 commit fe80f74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/modules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ var Functions = {
238238

239239
// Mark a function as needing indexing. Python will coordinate them all
240240
getIndex: function(ident) {
241-
if (phase != 'post') {
241+
if (phase != 'post' && singlePhase) {
242242
this.indexedFunctions[ident] = 0; // tell python we need this indexized
243243
return '{{{ FI_' + ident + ' }}}'; // something python will replace later
244244
} else {

0 commit comments

Comments
 (0)