Skip to content

Commit 3f2cd08

Browse files
Changed dropsim to show average counts for easier comparison.
1 parent 5675771 commit 3f2cd08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dropsim.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ int main(int argc, char* argv[]) {
715715
escapedDrop.insert(pos, "\\");
716716
pos += 2; // Move past the escaped quote
717717
}
718-
std::cout << " [\"" + trim(escapedDrop) + "\", " << drop.second << ", " << drop.first.magic << ", " << drop.first.rare << ", " << drop.first.set << ", " << drop.first.unique << "]";
718+
std::cout << " [\"" + trim(escapedDrop) + "\", " << ((double)drop.second / finalSims) << ", " << drop.first.magic << ", " << drop.first.rare << ", " << drop.first.set << ", " << drop.first.unique << "]";
719719
if (++count < sortedDrops.size()) {
720720
std::cout << ",";
721721
}

0 commit comments

Comments
 (0)