* ./hurricane/src/hurricane:
- Bug: In Mask, the "!=" operator was erroneously implemented like the "==" operator. Making "!=" behave like "==", what a mess. - Bug: In BasicLayer, in constructor the _blockageLayer and _connectorLayer where *not* initialised, leading to erratic behavior when checked against NULL.
This commit is contained in:
parent
4426fc4f0c
commit
81cd63baf0
|
@ -184,6 +184,8 @@ namespace Hurricane {
|
||||||
,minimalSpacing)
|
,minimalSpacing)
|
||||||
,_material (material)
|
,_material (material)
|
||||||
,_extractNumber (extractNumber)
|
,_extractNumber (extractNumber)
|
||||||
|
,_connectorLayer(NULL)
|
||||||
|
,_blockageLayer (NULL)
|
||||||
,_realName ("<not associated>")
|
,_realName ("<not associated>")
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,6 @@
|
||||||
|
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
#include "hurricane/Commons.h"
|
#include "hurricane/Commons.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -162,7 +162,7 @@ namespace Hurricane {
|
||||||
|
|
||||||
template<typename IntType>
|
template<typename IntType>
|
||||||
inline bool Mask<IntType>::operator != ( const Mask<IntType> mask ) const
|
inline bool Mask<IntType>::operator != ( const Mask<IntType> mask ) const
|
||||||
{ return _mask == mask._mask; }
|
{ return _mask != mask._mask; }
|
||||||
|
|
||||||
template<typename IntType>
|
template<typename IntType>
|
||||||
inline bool Mask<IntType>::operator < ( const Mask<IntType> mask ) const
|
inline bool Mask<IntType>::operator < ( const Mask<IntType> mask ) const
|
||||||
|
|
Loading…
Reference in New Issue