This commit is contained in:
Atgeirr Flø Rasmussen committed 2012-02-15 22:44:15 +01:00
commit af1dc247d5
1 file changed
+1 -1
@@ -182,7 +182,7 @@ namespace Opm
for (int phase = 0; phase < np; ++phase) {
rho[np*i + phase] = 0.0;
for (int comp = 0; comp < np; ++comp) {
rho[np*i + phase] += A[n*np*np + np*phase + comp]*sdens[comp];
rho[np*i + phase] += A[i*np*np + np*phase + comp]*sdens[comp];
}
}
}