Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Contributor 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
ogs
ogs
Commits
44a18da3
Commit
44a18da3
authored
6 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[App/IO] Explicit conversion from size_t to double
Silences a warning.
parent
47b325b6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2378
Small fixes.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Applications/FileIO/GocadIO/GocadSGridReader.cpp
+2
-1
2 additions, 1 deletion
Applications/FileIO/GocadIO/GocadSGridReader.cpp
with
2 additions
and
1 deletion
Applications/FileIO/GocadIO/GocadSGridReader.cpp
+
2
−
1
View file @
44a18da3
...
...
@@ -350,7 +350,8 @@ void GocadSGridReader::parseFaceSet(std::string& line, std::istream& in)
ERR
(
"****** k coord %d to big for id %d."
,
c
[
2
],
id
);
std
::
size_t
const
cell_id
(
_index_calculator
.
getCellIdx
(
c
[
0
],
c
[
1
],
c
[
2
]));
face_set_property
.
_property_data
[
cell_id
]
=
face_indicator
;
face_set_property
.
_property_data
[
cell_id
]
=
static_cast
<
double
>
(
face_indicator
);
}
face_set_id_cnt
++
;
}
...
...
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