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:
@@ -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();
|
||||
|
||||
@@ -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)++;
|
||||
|
||||
Reference in New Issue
Block a user