GlobalMatrix.cpp 604 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//
//  GlobalMatrix.cpp
//  HappyHeart
//
//  Created by Sebastien Gilles on 27/04/15.
//  Copyright (c) 2015 Inria. All rights reserved.
//

#include "Core/LinearAlgebra/GlobalMatrix.hpp"


namespace HappyHeart
{
    
    
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    GlobalMatrix::GlobalMatrix(const GlobalMatrix& rhs)
    : Parent(rhs)
    { }
    
    
    
    void Swap(GlobalMatrix& A, GlobalMatrix& B)
    {
        // \todo #527 Add assert about numbering subset!
        
        using Parent = GlobalMatrix::Parent;
        
        Swap(static_cast<Parent&>(A), static_cast<Parent&>(B));
        
    }
31
32
33
  

} // namespace HappyHeart