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
46f68a44
Commit
46f68a44
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
mv default as required by Mac
parent
e8622a9f
No related branches found
No related tags found
1 merge request
!1970
Start migration to simpler scale transform mechanism
Pipeline
#112866
passed
1 year ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Base/Axis/Bin.cpp
+0
-2
0 additions, 2 deletions
Base/Axis/Bin.cpp
Base/Axis/Bin.h
+1
-1
1 addition, 1 deletion
Base/Axis/Bin.h
with
1 addition
and
3 deletions
Base/Axis/Bin.cpp
+
0
−
2
View file @
46f68a44
...
@@ -15,8 +15,6 @@
...
@@ -15,8 +15,6 @@
#include
"Base/Axis/Bin.h"
#include
"Base/Axis/Bin.h"
#include
"Base/Util/Assert.h"
#include
"Base/Util/Assert.h"
bool
Bin1D
::
operator
==
(
const
Bin1D
&
)
const
=
default
;
Bin1D
Bin1D
::
FromTo
(
double
lower
,
double
upper
)
Bin1D
Bin1D
::
FromTo
(
double
lower
,
double
upper
)
{
{
return
{
lower
,
upper
};
return
{
lower
,
upper
};
...
...
This diff is collapsed.
Click to expand it.
Base/Axis/Bin.h
+
1
−
1
View file @
46f68a44
...
@@ -24,7 +24,7 @@ public:
...
@@ -24,7 +24,7 @@ public:
static
Bin1D
FromTo
(
double
lower
,
double
upper
);
static
Bin1D
FromTo
(
double
lower
,
double
upper
);
static
Bin1D
At
(
double
center
);
static
Bin1D
At
(
double
center
);
static
Bin1D
At
(
double
center
,
double
halfwidth
);
static
Bin1D
At
(
double
center
,
double
halfwidth
);
bool
operator
==
(
const
Bin1D
&
)
const
;
bool
operator
==
(
const
Bin1D
&
)
const
=
default
;
double
lowerBound
()
const
{
return
m_lower
;
}
double
lowerBound
()
const
{
return
m_lower
;
}
double
upperBound
()
const
{
return
m_upper
;
}
double
upperBound
()
const
{
return
m_upper
;
}
...
...
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