Skip to content

Commit

Permalink
working
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Feb 28, 2024
1 parent 5d0f322 commit 724528b
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions include/deal.II/lac/trilinos_tpetra_sparse_matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,7 @@ namespace LinearAlgebra
size_type
column() const;

// protected:
protected:
/**
* Pointer to the matrix object. This object should be handled as a
* const pointer or non-const by the appropriate derived classes. In
Expand Down Expand Up @@ -1405,6 +1405,10 @@ namespace LinearAlgebra
* Cache for the values of this row.
*/
std::shared_ptr<std::vector<Number>> value_cache;

private:
friend class Iterator<Number, MemorySpace, false>;
friend class Iterator<Number, MemorySpace, true>;
};

/**
Expand Down Expand Up @@ -1472,10 +1476,6 @@ namespace LinearAlgebra
*/
Number
value() const;

private:
// Make iterator class a friend.
friend class Iterator<Number, MemorySpace, true>;
};

/**
Expand Down Expand Up @@ -1563,9 +1563,6 @@ namespace LinearAlgebra
value() const;

private:
// Make iterator class a friend.
friend class Iterator<Number, MemorySpace, false>;

// Make Reference object a friend.
friend class Reference;
};
Expand Down

0 comments on commit 724528b

Please sign in to comment.