Skip to content
Snippets Groups Projects
Commit 5d9151df authored by Studer Gabriel's avatar Studer Gabriel
Browse files

silence compiler warning

parent a3ed5623
Branches
Tags
No related merge requests found
......@@ -32,11 +32,13 @@ namespace {
template<typename T>
void set_val(T& v, Real rv, const Complex& cv);
template<>
void set_val<Real>(Real& v, Real rv, const Complex& cv) {v=rv;}
// commented out to silence compiler warning, as they're not needed anywhere
template<>
void set_val<Complex>(Complex& v, Real rv, const Complex& cv) {v=cv;}
//template<>
//void set_val<Real>(Real& v, Real rv, const Complex& cv) {v=rv;}
//template<>
//void set_val<Complex>(Complex& v, Real rv, const Complex& cv) {v=cv;}
template<typename T>
void set_val(T& v, Real rv, const Complex& cv)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment