mirror of
https://github.com/paboyle/Grid.git
synced 2025-07-07 08:57:06 +01:00
_grid becomes private ; use Grid()§
This commit is contained in:
@ -141,9 +141,9 @@ template <class T1,
|
||||
inline void GridFromExpression(GridBase *&grid, const T1 &lat) // Lattice leaf
|
||||
{
|
||||
if (grid) {
|
||||
conformable(grid, lat._grid);
|
||||
conformable(grid, lat.Grid());
|
||||
}
|
||||
grid = lat._grid;
|
||||
grid = lat.Grid();
|
||||
}
|
||||
template <class T1,
|
||||
typename std::enable_if<!is_lattice<T1>::value, T1>::type * = nullptr>
|
||||
|
Reference in New Issue
Block a user