clMathLibraries / clSPARSE

a software library containing Sparse functions written in OpenCL
Apache License 2.0
173 stars 60 forks source link

Fix compile error on some platforms by explicitly including stdexcept for statistical timer headers #172

Closed AdamBrouwersHarries closed 8 years ago

AdamBrouwersHarries commented 8 years ago

On some platforms, clSPARSE complains that runtime_error is not a member of std. This commit fixes this by explicitly including the <stdexcept> header in the relevant areas.

jlgreathouse commented 8 years ago

Hi Adam,

Could you change this PR to merge into the develop branch instead of master? Our release cycle is to only periodically add code to master.

AdamBrouwersHarries commented 8 years ago

Hi Joseph, Ah, sorry - I hadn't realised you had a separate development branch - I'll add my changes to the develop branch in my fork and submit a new pull request.