diff --git a/test/tLofarStMan.cc b/test/tLofarStMan.cc index a33f782..eb5c9f6 100644 --- a/test/tLofarStMan.cc +++ b/test/tLofarStMan.cc @@ -413,7 +413,7 @@ void readTable (uInt nseq, uInt nant, uInt nchan, uInt npol, // Open the table and check if #rows is as expected. Table tab("tLofarStMan_tmp.data"); uInt nrow = tab.nrow(); - AlwaysAssertExit (nrow = nseq*nbasel); + AlwaysAssertExit (nrow == nseq*nbasel); AlwaysAssertExit (!tab.canAddRow()); AlwaysAssertExit (!tab.canRemoveRow()); AlwaysAssertExit (tab.canRemoveColumn(Vector(1, "DATA")));