1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-02 06:53:00 +00:00

Merge branch 'fix-build-linux' of https://github.com/iacore/hyperrogue into iacore-fix-build-linux

This commit is contained in:
Zeno Rogue
2024-10-11 09:22:09 +02:00
9 changed files with 73 additions and 22 deletions

View File

@@ -192,7 +192,7 @@ void preparegraph() {
current_logistic.setRT(factor * graph_R, factor * graph_T);
saved_logistic = current_logistic;
// for(int u=0; u<MAXDIST; u++) iprintf("%d/%Ld\n", edgetally[u], tally[u]);
// for(int u=0; u<MAXDIST; u++) iprintf("%d/%lld\n", edgetally[u], tally[u]);
fix_logistic_parameters(current_logistic, loglik_logistic, "logistic", 1e-6);
writestats();

View File

@@ -337,7 +337,7 @@ void build_disttable_approx() {
for(int k=0; k<threads; k++)
v.emplace_back([&,k] () {
auto& dt = results[k];
vector<int> tab(N, N);
vector<int> tab(N, N);
auto p = k ? nullptr : new progressbar(N/threads, "build_disttable_approx");
for(int i=k; i<N; i+=threads) {
if(p) (*p)++;