Python updates (#38)
* silence SFINAE disabled for fork_gotcha
* Python updates
- Options for --{module,function}-include
- libpyomnitrace is_initialized and is_finalized
- source instrumentation auto init
- atexit finalization
- improved python testing
* Documentation Update
* Fix to 'cmake -E cat' not available < cmake v3.18
* Fix for inverse tests
* Update cancelling.yml
This commit is contained in:
committato da
GitHub
parent
afa3edebab
commit
593b3b69b8
@@ -30,9 +30,7 @@ def run(nfib):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
omnitrace.initialize(__file__)
|
||||
nfib = int(sys.argv[1]) if len(sys.argv) > 1 else 20
|
||||
for i in range(5):
|
||||
ans = run(nfib)
|
||||
print(f"[{i}] fibonacci({nfib}) = {ans}")
|
||||
omnitrace.finalize()
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user