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

#include "Core/LinearAlgebra/GlobalVector.hpp"


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

        Swap(static_cast<Parent&>(A), static_cast<Parent&>(B));
        
    }
31
32
33
  

} // namespace HappyHeart