Robslhc/WaterSim

[bug] The equation in MICPCGSolver.preconditioner_init seems to be wrong.

Closed this issue · 1 comments

In line 91-92, the formula is '/self.precon[i - 1, j]**2', '/self.precon[i, j - 1]**2' rather than multiply according to "Fluid Simulation for Computer Graphics".

Sorry, the code is right.