summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DiskRTZ.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/DiskRTZ.py b/DiskRTZ.py
index 1f2930e..e31aed4 100644
--- a/DiskRTZ.py
+++ b/DiskRTZ.py
@@ -233,7 +233,7 @@ class DiskReduce(DiskReduceBase):
def compute_mass_r(self):
"""Compute Mass in Radial Bins."""
- self.mass_r = self.rho_r * self.r["r"] * 2. * pi * self.dl["dr"]
+ self.mass_r = self.rho_r * self.dl["dr"]
def reduce_all(self):
self.compute_mdotr_rz()