tweaks
This commit is contained in:
parent
1b243d8102
commit
033de8a8ea
1 changed files with 3 additions and 3 deletions
|
@ -72,7 +72,7 @@
|
|||
foreach ($result as $userb) {
|
||||
$unb = $userb['username'];
|
||||
$prb = $prold[$unb];
|
||||
if ($prb < pow(0.1,1 - ($i / 50))) {
|
||||
if ($prb < pow(1 / 1e6,1 - ($i / 50))) {
|
||||
continue;
|
||||
}
|
||||
$chh += $ch;
|
||||
|
@ -81,13 +81,13 @@
|
|||
|
||||
foreach ($result as $usera) {
|
||||
$una = $usera['username'];
|
||||
$pr[$una] = 0.1;
|
||||
$pr[$una] = 1 / 1e6;
|
||||
if (count($frs[$una]) == 0) continue;
|
||||
|
||||
foreach ($result as $userb) {
|
||||
$unb = $userb['username'];
|
||||
$prb = $prold[$unb];
|
||||
if ($prb < pow(0.1,1 - ($i / 50))) {
|
||||
if ($prb < 1 / 1e6) {
|
||||
continue;
|
||||
}
|
||||
$matrixe[$una][$unb] = 0;
|
||||
|
|
Loading…
Reference in a new issue