mirror of
https://github.com/aicodix/dsp.git
synced 2026-04-27 14:30:36 +00:00
time to embrace #pragma once
This commit is contained in:
parent
a85cbcf6ba
commit
c4b837b045
13 changed files with 13 additions and 51 deletions
|
|
@ -4,8 +4,7 @@ Fast complex math
|
|||
Copyright 2018 Ahmet Inan <inan@aicodix.de>
|
||||
*/
|
||||
|
||||
#ifndef COMPLEX_HH
|
||||
#define COMPLEX_HH
|
||||
#pragma once
|
||||
|
||||
template <typename T>
|
||||
class Complex
|
||||
|
|
@ -119,4 +118,3 @@ static constexpr T arg(Complex<T> a)
|
|||
return atan2(a.imag(), a.real());
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue