From c94dd18b33a628bec0de527c4c5c2777cef183d4 Mon Sep 17 00:00:00 2001
From: Matthew Webster <mwebster@fmrib.ox.ac.uk>
Date: Mon, 18 Aug 2008 12:43:44 +0000
Subject: [PATCH] Identity to IdentityMatrix

---
 fslorient.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/fslorient.cc b/fslorient.cc
index 0d87ce8..d3814f4 100644
--- a/fslorient.cc
+++ b/fslorient.cc
@@ -50,8 +50,7 @@ void print_usage() {
 
 template <class T>
 void swaporient(volume4D<T>& invol) {
-  Matrix swapmat(4,4);
-  swapmat=Identity(4);
+  Matrix swapmat(IdentityMatrix(4));
   swapmat(1,1)=-1;
   swapmat(1,4)=invol.xsize()-1;
   invol.set_sform(invol.sform_code(),invol.sform_mat() * swapmat);
-- 
GitLab