Skip to content

Commit

Permalink
TA::expressions::preserve_lobound_t -> TA::preserve_lobound_t
Browse files Browse the repository at this point in the history
  • Loading branch information
evaleev committed Sep 15, 2024
1 parent 2f80dc0 commit 7820909
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/TiledArray/expressions/fwd.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ class BlkTsrExpr;
template <typename, typename>
class ScalBlkTsrExpr;

/// used to indicate that block tensor expression should preserve the underlying
/// tensor's trange lobound
struct preserve_lobound_t {};

template <typename>
struct is_aliased : std::true_type {};

Expand Down Expand Up @@ -73,12 +69,4 @@ class ScalTsrEngine;

} // namespace TiledArray::expressions

namespace TiledArray {

/// used to tag block tensor expression methods that preserve the underlying
/// tensor's trange lobound
inline constexpr expressions::preserve_lobound_t preserve_lobound;

} // namespace TiledArray

#endif // TILEDARRAY_EXPRESSIONS_FWD_H__INCLUDED
8 changes: 8 additions & 0 deletions src/TiledArray/fwd.h
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,14 @@ struct to;

} // namespace conversions

/// used to indicate that block tensor expression should preserve the underlying
/// tensor's trange lobound
struct preserve_lobound_t {};

/// used to tag block tensor expression methods that preserve the underlying
/// tensor's trange lobound
inline constexpr preserve_lobound_t preserve_lobound;

} // namespace TiledArray

#ifndef TILEDARRAY_DISABLE_NAMESPACE_TA
Expand Down

0 comments on commit 7820909

Please sign in to comment.