diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-11-23 00:27:46 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-11-23 00:27:46 +0400 |
commit | f13d0c824456b91fef2588261cbe52ce24c665ba (patch) | |
tree | 4c24ab4dff0c05840bcea2333ac522d9b956f7cf /moses/FloydWarshall.cpp | |
parent | 028edf85501013ea06d575c67b5647f939f1f149 (diff) |
UTIL_THROW_IF -> UTIL_THROW_IF2
Diffstat (limited to 'moses/FloydWarshall.cpp')
-rw-r--r-- | moses/FloydWarshall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/FloydWarshall.cpp b/moses/FloydWarshall.cpp index 87c863e4c..7015dbac4 100644 --- a/moses/FloydWarshall.cpp +++ b/moses/FloydWarshall.cpp @@ -11,7 +11,7 @@ using namespace std; // All-pairs shortest path algorithm void floyd_warshall(const std::vector<std::vector<bool> >& edges, std::vector<std::vector<int> >& dist) { - UTIL_THROW_IF(edges.size() != edges.front().size(), util::Exception, "Error"); + UTIL_THROW_IF2(edges.size() != edges.front().size(), "Error"); dist.clear(); dist.resize(edges.size(), std::vector<int>(edges.size(), 0)); |