Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs-feliks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
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
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Feliks Kiszkurno
ogs-feliks
Commits
1d99e76a
Commit
1d99e76a
authored
5 years ago
by
renchao.lu
Browse files
Options
Downloads
Patches
Plain Diff
[CL] Assign uninitialized member variables.
parent
39f1011e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChemistryLib/PhreeqcIO.h
+1
-1
1 addition, 1 deletion
ChemistryLib/PhreeqcIO.h
ChemistryLib/PhreeqcIOData/AqueousSolution.h
+2
-2
2 additions, 2 deletions
ChemistryLib/PhreeqcIOData/AqueousSolution.h
with
3 additions
and
3 deletions
ChemistryLib/PhreeqcIO.h
+
1
−
1
View file @
1d99e76a
...
...
@@ -80,6 +80,6 @@ private:
std
::
unique_ptr
<
Output
>
const
_output
;
std
::
vector
<
std
::
pair
<
int
,
std
::
string
>>
const
&
_process_id_to_component_name_map
;
double
_dt
;
double
_dt
=
std
::
numeric_limits
<
double
>::
quiet_NaN
()
;
};
}
// namespace ChemistryLib
This diff is collapsed.
Click to expand it.
ChemistryLib/PhreeqcIOData/AqueousSolution.h
+
2
−
2
View file @
1d99e76a
...
...
@@ -22,7 +22,7 @@ struct Component
explicit
Component
(
std
::
string
name_
)
:
name
(
std
::
move
(
name_
))
{}
std
::
string
const
name
;
double
amount
;
double
amount
=
std
::
numeric_limits
<
double
>::
quiet_NaN
()
;
static
const
ItemType
item_type
=
ItemType
::
Component
;
};
...
...
@@ -53,7 +53,7 @@ struct AqueousSolution
double
temperature
;
double
pressure
;
double
pH
;
double
pH
=
std
::
numeric_limits
<
double
>::
quiet_NaN
()
;
double
pe
;
std
::
vector
<
Component
>
components
;
MeansOfAdjustingCharge
const
means_of_adjusting_charge
;
...
...
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