Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Pawian
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Repository 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
PWA
Pawian
Commits
eae834de
Commit
eae834de
authored
13 years ago
by
Bertram Kopf
Browse files
Options
Downloads
Patches
Plain Diff
bug fix for optimization mode with Geneva in pbarpToOmegaPiLS
parent
e42b80ad
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Examples/pbarpToOmegaPiLS/GOmegaPiIndividualLS.cc
+5
-1
5 additions, 1 deletion
Examples/pbarpToOmegaPiLS/GOmegaPiIndividualLS.cc
Examples/pbarpToOmegaPiLS/OmegaPiLSTestApp.cc
+9
-1
9 additions, 1 deletion
Examples/pbarpToOmegaPiLS/OmegaPiLSTestApp.cc
with
14 additions
and
2 deletions
Examples/pbarpToOmegaPiLS/GOmegaPiIndividualLS.cc
+
5
−
1
View file @
eae834de
...
...
@@ -159,7 +159,11 @@ namespace Gem
double
result
=
0.
;
OmegaPiDataLS
::
fitParamVal
theFitParmValTmp
;
assert
(
getFitParams
(
theFitParmValTmp
));
bool
fitParamsSet
=
getFitParams
(
theFitParmValTmp
);
if
(
!
fitParamsSet
){
std
::
cout
<<
"fit parameters could not set properly "
<<
std
::
endl
;
exit
(
0
);
}
result
=
_omegaPiLhPtr
->
calcLogLh
(
theFitParmValTmp
);
// std::cout << "**** current fit params ***** " << std::endl;
// printFitParams(theFitParmValTmp);
...
...
This diff is collapsed.
Click to expand it.
Examples/pbarpToOmegaPiLS/OmegaPiLSTestApp.cc
+
9
−
1
View file @
eae834de
...
...
@@ -501,7 +501,15 @@ bl::tribool GenEvA(
//----------------------------------------------------------------------------------------------
boost
::
shared_ptr
<
gp
::
GOmegaPiIndividualLS
>
bestIndividual_ptr
=
pop_ptr
->
getBestIndividual
<
gp
::
GOmegaPiIndividualLS
>
();
assert
(
bestIndividual_ptr
->
getFitParams
(
fitParm
));
bool
fitParamsSet
=
bestIndividual_ptr
->
getFitParams
(
fitParm
);
if
(
!
fitParamsSet
){
std
::
cout
<<
"fit parameters could not set properly "
<<
std
::
endl
;
exit
(
0
);
}
omegaPiLh
=
bestIndividual_ptr
->
omegaPiLhPtr
();
Info
<<
"GenEvA done.
\n
"
<<
endmsg
;
...
...
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