Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review 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
mantidproject
mantid
Commits
11848398
Commit
11848398
authored
5 years ago
by
Nick Draper
Browse files
Options
Downloads
Patches
Plain Diff
Update comments for isExecuted
Haven't changed AlgorithmProxy as that class will be deleted in the next PR
parent
097abc6b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Framework/API/inc/MantidAPI/IAlgorithm.h
+1
-1
1 addition, 1 deletion
Framework/API/inc/MantidAPI/IAlgorithm.h
Framework/API/src/Algorithm.cpp
+1
-1
1 addition, 1 deletion
Framework/API/src/Algorithm.cpp
with
2 additions
and
2 deletions
Framework/API/inc/MantidAPI/IAlgorithm.h
+
1
−
1
View file @
11848398
...
...
@@ -122,7 +122,7 @@ public:
/// Check whether the algorithm is initialized properly
virtual
bool
isInitialized
()
const
=
0
;
/// Check whether the algorithm has
already
been executed
/// Check whether the algorithm has been executed
sucessfully
virtual
bool
isExecuted
()
const
=
0
;
/// Raises the cancel flag. interuption_point() method if called inside exec()
...
...
This diff is collapsed.
Click to expand it.
Framework/API/src/Algorithm.cpp
+
1
−
1
View file @
11848398
...
...
@@ -141,7 +141,7 @@ bool Algorithm::isInitialized() const {
return
(
m_executionState
!=
ExecutionState
::
Uninitialized
);
}
/// Has the Algorithm already been executed
/// Has the Algorithm already been executed
successfully
bool
Algorithm
::
isExecuted
()
const
{
return
((
executionState
()
==
ExecutionState
::
Finished
)
&&
(
resultState
()
==
ResultState
::
Success
));
...
...
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