(sd): Supply missing parenthesis for a cast from double to int. The
cast is only there to express intent, it doesn't change the meaning of the code.
This commit is contained in:
parent
2f08b52cef
commit
d9b6937634
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ sd(natid att, natid own, coord x, coord y, int noisy, int defending,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return (int)100 - eff * 100;
|
return (int)(100 - eff * 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue