Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
alta
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alta
alta
Commits
7645135f
Commit
7645135f
authored
Jul 12, 2016
by
Ludovic Courtès
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: 'data::min' and 'data::max' return a reference.
parent
ac523ab7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
sources/core/data.h
sources/core/data.h
+2
-3
No files found.
sources/core/data.h
View file @
7645135f
...
...
@@ -97,11 +97,10 @@ class data
/* Maximum values of the data */
//! \brief Get the minimum value the input can take
// FIXME: Return a reference.
vec
min
()
const
{
return
_min
;
};
const
vec
&
min
()
const
{
return
_min
;
};
//! \brief Get the maximum value the input can take
vec
max
()
const
{
return
_max
;
};
const
vec
&
max
()
const
{
return
_max
;
};
protected:
// data
...
...
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