Verified Commit 910d9bef authored by Tim Gymnich's avatar Tim Gymnich
Browse files

made T public

parent 61b2e8eb
......@@ -10,14 +10,14 @@
namespace pcpo {
class AffineRelation {
using T = int;
private:
/// Only valid when `createVariableIndexMap` has been generated.
int getNumberOfVariables() const { return index.size(); };
std::unordered_map<llvm::Value const*, int> createVariableIndexMap(llvm::Function const& func);
public:
/// Type used for Matrix values.
using T = double;
std::unordered_map<llvm::Value const*, int> index;
std::vector<Matrix<T>> basis;
bool isBottom = true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment