Skip to content

Commit

Permalink
Clear the needsCompile flag in tensor->compileSource()
Browse files Browse the repository at this point in the history
Fixes #366.
  • Loading branch information
Infinoid committed Jan 19, 2021
1 parent 557ad5f commit 9dc083d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,7 @@ void TensorBase::compileSource(std::string source) {
}
content->module->setSource(source + "\n" + ss.str());
content->module->compile();
setNeedsCompile(false);
}

TensorBase::HelperFuncsCache TensorBase::helperFunctions;
Expand Down

0 comments on commit 9dc083d

Please sign in to comment.