Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sébastien Peillet
otb
Commits
bd524a34
There was an error fetching the commit references. Please try again later.
Commit
bd524a34
authored
7 years ago
by
Antoine Regimbeau
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into bugfix-1441
parents
316cd8e0
f2876b15
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Modules/Radiometry/Simulation/include/otbSoilDataBase.h
+2
-1
2 additions, 1 deletion
Modules/Radiometry/Simulation/include/otbSoilDataBase.h
Modules/Radiometry/Simulation/src/otbSoilDataBase.cxx
+1
-1
1 addition, 1 deletion
Modules/Radiometry/Simulation/src/otbSoilDataBase.cxx
with
3 additions
and
2 deletions
Modules/Radiometry/Simulation/include/otbSoilDataBase.h
+
2
−
1
View file @
bd524a34
...
...
@@ -23,6 +23,7 @@
#define otbSoilDataBase_h
#include
"OTBSimulationExport.h"
#include
"itkMacro.h"
#include
<vector>
#include
<unordered_map>
#include
<string>
...
...
@@ -30,7 +31,7 @@
namespace
otb
{
class
OTBSimulation
_EXPORT
SoilDataBase
class
ITK_ABI
_EXPORT
SoilDataBase
{
public:
//wavelength in nm
...
...
This diff is collapsed.
Click to expand it.
Modules/Radiometry/Simulation/src/otbSoilDataBase.cxx
+
1
−
1
View file @
bd524a34
...
...
@@ -104,7 +104,7 @@ size_t SoilDataBase::CountColumns(std::string fileName) const
}
void
SoilDataBase
::
ParseSoilFile
()
{
unsigned
int
number_of_soils
=
CountColumns
(
m_SoilFileName
)
-
1
;
auto
number_of_soils
=
CountColumns
(
m_SoilFileName
)
-
1
;
m_SoilDataVector
.
resize
(
number_of_soils
);
std
::
ifstream
sdb
(
m_SoilFileName
);
if
(
!
sdb
.
is_open
())
...
...
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