Evolving-Protozoa icon indicating copy to clipboard operation
Evolving-Protozoa copied to clipboard

Potential Bug in NNBrain

Open sdobberstein opened this issue 1 year ago • 0 comments

I'll start off by saying I just found this repo recently so still trying to wrap my head around it. So please excuse me if I'm misunderstanding something here. While looking at the NNBrain.java file it looked like lines 44 & 45 may have a small typo.

int chemicalY1 = chemicalSolution.toChemicalGridY(p.getPos().getX() - p.getRadius());
int chemicalY2 = chemicalSolution.toChemicalGridY(p.getPos().getX() + p.getRadius());

Should these instead be p.getPos().getY() instead of .getX()?

sdobberstein avatar Jan 17 '24 01:01 sdobberstein