Skip to content

Commit

Permalink
Changed to use reinterpt cast
Browse files Browse the repository at this point in the history
  • Loading branch information
flippmoke committed Apr 29, 2016
1 parent 81d2b53 commit 3915a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vector_tile_douglas_peucker.hpp
Expand Up @@ -157,7 +157,7 @@ inline void consider(Range const& vec,
float md_out [4];
std::uint32_t md_idx_out [4];
_mm_store_ps(md_out, md_4);
_mm_store_ps((float*)md_idx_out, md_idx);
_mm_store_ps(reinterpret_cast<float*>(md_idx_out), md_idx);

md = md_out[0];
candidate = md_idx_out[0];
Expand Down

0 comments on commit 3915a2b

Please sign in to comment.