Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
imagej-elphel
Commits
6e8225bb
Commit
6e8225bb
authored
Sep 25, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing stopRequested
parent
71a02244
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
FocusingField.java
src/main/java/FocusingField.java
+2
-1
No files found.
src/main/java/FocusingField.java
View file @
6e8225bb
...
@@ -4525,8 +4525,8 @@ public boolean LevenbergMarquardt(
...
@@ -4525,8 +4525,8 @@ public boolean LevenbergMarquardt(
// this.seriesNumber++;
// this.seriesNumber++;
break
;
// while (true), proceed to the next series
break
;
// while (true), proceed to the next series
}
}
this
.
stopRequested
.
set
(
saveStopRequested
);
// restore caller stop request
}
// while true - same series
}
// while true - same series
this
.
stopRequested
.
set
(
saveStopRequested
);
// restore caller stop request
// if (wasLastSeries) break;
// if (wasLastSeries) break;
// } // while (this.fittingStrategy.isSeriesValid(this.seriesNumber)){ // TODO: Add "stop" tag to series
// } // while (this.fittingStrategy.isSeriesValid(this.seriesNumber)){ // TODO: Add "stop" tag to series
if
(
fieldFitting
.
fieldStrategies
.
isLast
(
this
.
currentStrategyStep
))
break
;
if
(
fieldFitting
.
fieldStrategies
.
isLast
(
this
.
currentStrategyStep
))
break
;
...
@@ -4536,6 +4536,7 @@ public boolean LevenbergMarquardt(
...
@@ -4536,6 +4536,7 @@ public boolean LevenbergMarquardt(
if
(
debugLevel
>
0
)
System
.
out
.
println
(
"stepLevenbergMarquardtAction() "
+
msg
);
if
(
debugLevel
>
0
)
System
.
out
.
println
(
"stepLevenbergMarquardtAction() "
+
msg
);
this
.
currentStrategyStep
++;
this
.
currentStrategyStep
++;
this
.
iterationStepNumber
=
0
;
this
.
iterationStepNumber
=
0
;
this
.
stopRequested
.
set
(
saveStopRequested
);
// restore caller stop request
}
// for all series
}
// for all series
String
msg
=
"RMS="
+
this
.
currentRMS
+
" ("
+
this
.
firstRMS
+
") "
+
String
msg
=
"RMS="
+
this
.
currentRMS
+
" ("
+
this
.
firstRMS
+
") "
+
", pure RMS="
+
this
.
currentRMSPure
+
" ("
+
this
.
firstRMSPure
+
") "
+
", pure RMS="
+
this
.
currentRMSPure
+
" ("
+
this
.
firstRMSPure
+
") "
+
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment