From 8f1a65c9d74a97905d6daa6d8ad0b2c5357549b0 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 6 Jan 2020 20:36:42 +0100 Subject: [PATCH] operators - and * in crystal::coord --- crystal.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crystal.cpp b/crystal.cpp index a744c2bf..9c5e72e8 100644 --- a/crystal.cpp +++ b/crystal.cpp @@ -16,6 +16,8 @@ static const int MAXDIM = 7; struct coord : public array { coord operator + (coord b) { for(int i=0; i