Skip to content

Commit

Permalink
Minor clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
ye-luo committed Jun 12, 2019
1 parent 7a1ae9d commit 9afab34
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Utilities/scalar_traits.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ struct scalar_traits
};
typedef T real_type;
typedef T value_type;
static inline T* get_address(T* a) { return a; }
};

template<typename T>
Expand All @@ -43,7 +42,6 @@ struct scalar_traits<std::complex<T>>
};
typedef T real_type;
typedef std::complex<T> value_type;
static inline T* get_address(std::complex<T>* a) { return reinterpret_cast<T*>(a); }
};

} // namespace qmcplusplus
Expand Down

0 comments on commit 9afab34

Please sign in to comment.