Browse Source

Make it compile on Ubuntu 20.04 (g++ 9.4.0)

Ian Goldberg 1 year ago
parent
commit
c6682b9553
1 changed files with 1 additions and 1 deletions
  1. 1 1
      duoram.tcc

+ 1 - 1
duoram.tcc

@@ -394,7 +394,7 @@ Duoram<T>::Shape::MemRefS<U>::operator T()
 
 // Oblivious update to an additively shared index of Duoram memory
 template <typename T> template <typename U>
-typename Duoram<T>::Shape::MemRefS<U>
+typename Duoram<T>::Shape::template MemRefS<U>
     &Duoram<T>::Shape::MemRefS<U>::operator+=(const T& M)
 {
     Shape &shape = this->shape;