Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
amdis
Commits
274e95a1
Commit
274e95a1
authored
Aug 15, 2011
by
Praetorius, Simon
Browse files
small corrections in CouplinIterationInterface
parent
e405863d
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/CouplingIterationInterface.cc
View file @
274e95a1
...
...
@@ -28,7 +28,7 @@ namespace AMDiS {
/// add problem by number
void
CouplingIterationInterface
::
addIterationInterface
(
ProblemIterationInterface
*
probIter
,
int
number
)
{
unsigned
idx
=
std
::
min
(
problems
.
size
(),
static_cast
<
unsigned
>
(
number
));
size_t
idx
=
std
::
min
(
problems
.
size
(),
static_cast
<
size_t
>
(
number
));
if
(
number
<
0
)
idx
=
problems
.
size
();
std
::
vector
<
ProblemIterationInterface
*>::
iterator
pos
=
problems
.
begin
()
+
idx
;
...
...
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