Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linuxbin
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aerospace and Mechanical Engineering
linuxbin
Commits
c7567002
Commit
c7567002
authored
4 years ago
by
Yannick Crutzen
Browse files
Options
Downloads
Patches
Plain Diff
correct comments
parent
11f000e5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
postProLoop.py
+2
-2
2 additions, 2 deletions
postProLoop.py
with
2 additions
and
2 deletions
postProLoop.py
+
2
−
2
View file @
c7567002
...
...
@@ -294,7 +294,7 @@ def execScilabScript(scilabExe, scilabCmd, sciFilePath=None, verb=True):
cmd
=
'"
%s
"
-nw -e
"
%s
"
>
"
%s
"
2>&1
'
%
(
scilabExe
,
sciCmd
,
logFile
)
if
verb
:
print
(
'
subprocess command :
'
,
cmd
)
# acquire
matl
ock
# acquire
sciL
ock
tim0
=
time
.
time
()
sciLock
.
acquire
()
try
:
...
...
@@ -307,7 +307,7 @@ def execScilabScript(scilabExe, scilabCmd, sciFilePath=None, verb=True):
# fonction objectif doit retourner un double
print
(
"
problem during Scilab run
"
)
a
=
0.0
# release
matl
ock
# release
sciL
ock
sciLock
.
release
()
print
(
"
Scilab exec time = %d sec
"
%
(
time
.
time
()
-
tim0
))
return
a
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment