Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
df17c5a3
Commit
df17c5a3
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
mv setter implementations to headers
parent
a64dbfce
No related branches found
No related tags found
1 merge request
!2206
mv last getter implementations to header
Pipeline
#122695
passed
1 year ago
Stage: build
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Fit/Param/Parameter.cpp
+0
-5
0 additions, 5 deletions
Fit/Param/Parameter.cpp
Fit/Param/Parameter.h
+1
-1
1 addition, 1 deletion
Fit/Param/Parameter.h
Fit/Param/RealLimits.cpp
+0
-5
0 additions, 5 deletions
Fit/Param/RealLimits.cpp
Fit/Param/RealLimits.h
+1
-1
1 addition, 1 deletion
Fit/Param/RealLimits.h
with
2 additions
and
12 deletions
Fit/Param/Parameter.cpp
+
0
−
5
View file @
df17c5a3
...
@@ -49,11 +49,6 @@ Parameter::Parameter(std::string name, double value, const AttLimits& limits, do
...
@@ -49,11 +49,6 @@ Parameter::Parameter(std::string name, double value, const AttLimits& limits, do
if
(
step
<=
0.0
)
if
(
step
<=
0.0
)
m_step
=
step_for_value
(
value
);
m_step
=
step_for_value
(
value
);
}
}
double
Parameter
::
value
()
const
{
return
m_value
;
}
void
Parameter
::
setValue
(
double
value
)
void
Parameter
::
setValue
(
double
value
)
{
{
m_value
=
value
;
m_value
=
value
;
...
...
This diff is collapsed.
Click to expand it.
Fit/Param/Parameter.h
+
1
−
1
View file @
df17c5a3
...
@@ -41,7 +41,7 @@ public:
...
@@ -41,7 +41,7 @@ public:
AttLimits
limits
()
const
{
return
m_limits
;
}
AttLimits
limits
()
const
{
return
m_limits
;
}
double
value
()
const
;
double
value
()
const
{
return
m_value
;
}
void
setValue
(
double
value
);
void
setValue
(
double
value
);
double
step
()
const
{
return
m_step
;
}
double
step
()
const
{
return
m_step
;
}
...
...
This diff is collapsed.
Click to expand it.
Fit/Param/RealLimits.cpp
+
0
−
5
View file @
df17c5a3
...
@@ -49,11 +49,6 @@ RealLimits RealLimits::limitless()
...
@@ -49,11 +49,6 @@ RealLimits RealLimits::limitless()
{
{
return
RealLimits
();
return
RealLimits
();
}
}
double
RealLimits
::
max
()
const
{
return
m_upper_limit
;
}
bool
RealLimits
::
isInRange
(
double
value
)
const
bool
RealLimits
::
isInRange
(
double
value
)
const
{
{
if
(
hasLowerLimit
()
&&
value
<
m_lower_limit
)
if
(
hasLowerLimit
()
&&
value
<
m_lower_limit
)
...
...
This diff is collapsed.
Click to expand it.
Fit/Param/RealLimits.h
+
1
−
1
View file @
df17c5a3
...
@@ -47,7 +47,7 @@ public:
...
@@ -47,7 +47,7 @@ public:
double
min
()
const
{
return
m_lower_limit
;
}
double
min
()
const
{
return
m_lower_limit
;
}
//! Returns upper limit
//! Returns upper limit
double
max
()
const
;
double
max
()
const
{
return
m_upper_limit
;
}
//! Returns true if proposed value is in limits range
//! Returns true if proposed value is in limits range
bool
isInRange
(
double
value
)
const
;
bool
isInRange
(
double
value
)
const
;
...
...
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