diff options
Diffstat (limited to 'src/main/Dipole.h')
-rw-r--r-- | src/main/Dipole.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/Dipole.h b/src/main/Dipole.h index c4f7bc0..6edfb91 100644 --- a/src/main/Dipole.h +++ b/src/main/Dipole.h @@ -67,7 +67,7 @@ public: virtual void accept(ElementVisitor& v) {v.visit(this);} - virtual Dipole* copy() const { + virtual Dipole* clone() const { return new Dipole(getEntryPosition(), getExitPosition(), getSectionRadius(), getCurvature(), _magneticField); } |