Error from multiple receivers per source dipole

Hi @santisoler ,

Before I made this post, I attempted the fix from “Possible bug in BaseRx.eval() when using resistivity”, but to no avail, leading me to my flattening solution.

Since the error only occurred when I used apparent resistivity, I changed my input data to volts and things ran no problem.

Doing some further digging, I noticed the modifications I made to the “receivers.py” file were not located where I expected them on my drive. Long story short, I had two version of simpeg installed on my pc and I modified a version I was not using.

I went into the correct “receivers.py” file, made the suggested change and presto! Problem solved.

I changed

  • return v / self.geometric_factor[src]

to be

  • return v / self.geometric_factor[src][:, None]