EricssonResearch / scream

SCReAM - Mobile optimised congestion control algorithm
BSD 2-Clause "Simplified" License
179 stars 57 forks source link

ScreamTx.cpp: add header <cmath> for function sqrt #8

Closed francisyyan closed 7 years ago

francisyyan commented 7 years ago

Function sqrt requires the header <math.h> or <cmath> (tested with GCC 6.3.0). Even though in some versions of GCC, the header may not be required since GCC provides built-in functions.