mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 03:15:50 +00:00
changes in column_info of lar_solver
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
3113901c8f
commit
43f89dc2cc
5 changed files with 5 additions and 19 deletions
|
@ -24,7 +24,7 @@ Revision History:
|
|||
namespace lp {
|
||||
template <typename T, typename X> column_info<T> * lp_solver<T, X>::get_or_create_column_info(unsigned column) {
|
||||
auto it = m_map_from_var_index_to_column_info.find(column);
|
||||
return (it == m_map_from_var_index_to_column_info.end())? (m_map_from_var_index_to_column_info[column] = new column_info<T>(static_cast<unsigned>(-1))) : it->second;
|
||||
return (it == m_map_from_var_index_to_column_info.end())? (m_map_from_var_index_to_column_info[column] = new column_info<T>()) : it->second;
|
||||
}
|
||||
|
||||
template <typename T, typename X>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue