Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pulse Physiology Suite
engine
Commits
00778296
Commit
00778296
authored
Jan 07, 2021
by
Harald Scheirich
Browse files
Fix signed unsigned conversion warning
parent
432ffafc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cpp/cdm/circuit/SECircuitPath.cpp
View file @
00778296
...
...
@@ -101,17 +101,17 @@ SECircuitNode<CIRCUIT_NODE_TYPES>& SECircuitPath<CIRCUIT_PATH_TYPES>::GetTargetN
template
<
CIRCUIT_PATH_TEMPLATE
>
bool
SECircuitPath
<
CIRCUIT_PATH_TYPES
>::
HasValidElements
()
const
{
in
t
numRCI
=
(
HasResistance
()
?
1
:
0
)
+
unsigned
shor
t
numRCI
=
(
HasResistance
()
?
1
:
0
)
+
(
HasCapacitance
()
?
1
:
0
)
+
(
HasInductance
()
?
1
:
0
);
in
t
numNextRCI
=
(
HasNextResistance
()
?
1
:
0
)
+
unsigned
shor
t
numNextRCI
=
(
HasNextResistance
()
?
1
:
0
)
+
(
HasNextCapacitance
()
?
1
:
0
)
+
(
HasNextInductance
()
?
1
:
0
);
in
t
numSrcState
=
(
HasSwitch
()
?
1
:
0
)
+
unsigned
shor
t
numSrcState
=
(
HasSwitch
()
?
1
:
0
)
+
(
HasValve
()
?
1
:
0
)
+
(
HasFluxSource
()
?
1
:
0
)
+
(
HasPotentialSource
()
?
1
:
0
);
in
t
numNextSrcState
=
(
HasNextSwitch
()
?
1
:
0
)
+
unsigned
shor
t
numNextSrcState
=
(
HasNextSwitch
()
?
1
:
0
)
+
(
HasNextValve
()
?
1
:
0
)
+
(
HasNextFluxSource
()
?
1
:
0
)
+
(
HasNextPotentialSource
()
?
1
:
0
);
...
...
Write
Preview
Supports
Markdown
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