No functional change.
Closes #1112
- assert(abs(int(v)) <= D); // Consistency check for below formula
+ assert(abs(v) <= D); // Consistency check for below formula
- table[c][from][to] -= table[c][from][to] * abs(int(v)) / D;
- table[c][from][to] += int(v) * 32;
+ table[c][from][to] -= table[c][from][to] * abs(v) / D;
+ table[c][from][to] += v * 32;
- assert(abs(int(v)) <= D); // Consistency check for below formula
+ assert(abs(v) <= D); // Consistency check for below formula
- table[pc][to] -= table[pc][to] * abs(int(v)) / D;
- table[pc][to] += int(v) * 32;
+ table[pc][to] -= table[pc][to] * abs(v) / D;
+ table[pc][to] += v * 32;
#define THREAD_H_INCLUDED
#include <atomic>
#define THREAD_H_INCLUDED
#include <atomic>
#include <condition_variable>
#include <mutex>
#include <thread>
#include <condition_variable>
#include <mutex>
#include <thread>