summaryrefslogtreecommitdiff
path: root/thirdparty/linux/include/coin/CoinSearchTree.hpp
diff options
context:
space:
mode:
authorGeorgey2017-07-05 11:40:43 +0530
committerGeorgey2017-07-05 11:40:43 +0530
commit938fef4a37a7b7c61b4b6ff74cb4cfd2f100c427 (patch)
treeb343c0ee5609433c80e0de1db8b6886c9126dc2d /thirdparty/linux/include/coin/CoinSearchTree.hpp
parent5b72577efe080c5294b32d804e4d26351fef30bc (diff)
downloadFOSSEE-Optimization-toolbox-938fef4a37a7b7c61b4b6ff74cb4cfd2f100c427.tar.gz
FOSSEE-Optimization-toolbox-938fef4a37a7b7c61b4b6ff74cb4cfd2f100c427.tar.bz2
FOSSEE-Optimization-toolbox-938fef4a37a7b7c61b4b6ff74cb4cfd2f100c427.zip
Added linux shared libraries and header files for int and ecos functions
Diffstat (limited to 'thirdparty/linux/include/coin/CoinSearchTree.hpp')
-rw-r--r--thirdparty/linux/include/coin/CoinSearchTree.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/linux/include/coin/CoinSearchTree.hpp b/thirdparty/linux/include/coin/CoinSearchTree.hpp
index a0ce8e3..f7c101d 100644
--- a/thirdparty/linux/include/coin/CoinSearchTree.hpp
+++ b/thirdparty/linux/include/coin/CoinSearchTree.hpp
@@ -1,4 +1,4 @@
-/* $Id: CoinSearchTree.hpp 1685 2014-01-27 03:05:07Z tkr $ */
+/* $Id: CoinSearchTree.hpp 1824 2015-04-04 16:27:28Z tkr $ */
// Copyright (C) 2006, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
@@ -243,7 +243,7 @@ public:
inline int size() const { return size_; }
inline int numInserted() const { return numInserted_; }
inline CoinTreeNode* top() const {
- if (size_ == 0)
+ if (size_ == 0 || candidateList_.size() == 0)
return NULL;
#ifdef DEBUG_PRINT
char output[44];