mirror of https://github.com/CGAL/cgal
- Intel CC workarounds.
This commit is contained in:
parent
2efb8644b3
commit
87c36f092d
|
|
@ -1,3 +1,6 @@
|
|||
Version 1.147 (3 June 03)
|
||||
- workaround for Intel in test_cls_tds_3.C and Triangulation_data_structure_3
|
||||
|
||||
Version 1.146 (2 June 03)
|
||||
- Doc : typography rules in English : "~:" replaced by ":".
|
||||
- Test-suite : Use Filtered_kernel<>.
|
||||
|
|
|
|||
|
|
@ -1992,7 +1992,10 @@ insert_increase_dimension(Vertex_handle star)
|
|||
if ( ! it->has_vertex(star) ) {
|
||||
Cell_handle cnew = create_cell( it->vertex(0), it->vertex(2),
|
||||
it->vertex(1), star);
|
||||
set_adjacency(cnew, 3, it, 3);
|
||||
// The Intel compiler has a problem with passing "it" directly to
|
||||
// function "set_adjacency": the adjacency is not changed.
|
||||
Cell_handle ch_it = it;
|
||||
set_adjacency(cnew, 3, ch_it, 3);
|
||||
cnew->set_neighbor(0, NULL);
|
||||
new_cells.push_back(cnew);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -175,7 +175,9 @@ _test_cls_tds_3( const Tds &)
|
|||
next_cell = ++cit; --cit;
|
||||
while ( (! flipped) && (i<4) ) {
|
||||
if ( (i!=j) ) {
|
||||
flipped = tds6.flip( cit, i, j ) ;
|
||||
// The Intel compiler has a bug and needs the explicit handle.
|
||||
Cell_handle ch = cit;
|
||||
flipped = tds6.flip( ch, i, j ) ;
|
||||
if (flipped) {
|
||||
nbflips++;
|
||||
assert(tds6.is_valid());
|
||||
|
|
|
|||
Loading…
Reference in New Issue