fixed merging
This commit is contained in:
@@ -101,3 +101,16 @@ std::set<std::string> fillDistributedArrays(const DataDirective& dataDirectives,
|
||||
|
||||
void copyStringToShort(short*& result, const std::string& resVal, bool withEnd = true);
|
||||
void dumpMessages(bool inCatch, const std::map<std::string, std::vector<Messages>>& messages, const char* vis_path);
|
||||
|
||||
template<typename T>
|
||||
inline T gcd(T a, T b)
|
||||
{
|
||||
while (a != b)
|
||||
{
|
||||
if (a > b)
|
||||
a = a - b;
|
||||
else
|
||||
b = b - a;
|
||||
}
|
||||
return a;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user