Skip to content

Commit

Permalink
DWG.hpp: fix float/double confusion for compatibility with GCC 6 (2nd…
Browse files Browse the repository at this point in the history
… attempt)
  • Loading branch information
Nathan Ho committed Aug 28, 2016
1 parent 8cbb151 commit 70e4ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/DWGUGens/dwglib/DWG.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ class TUBE{
if(a1 < 1e-18)
loss = 0.0;
else
loss = 1.0 - sc_min(lossF/sqrt(a1),1.0);
loss = 1.0 - sc_min(lossF/sqrt(a1),1.0f);

}
void go(){
Expand Down

0 comments on commit 70e4ab3

Please sign in to comment.