Skip to content

Dangerous matrix abstraction - #4

Open
JayFoxRox wants to merge 1 commit into
OpenSWE1R:masterfrom
JayFoxRox:dangerous-mat
Open

Dangerous matrix abstraction#4
JayFoxRox wants to merge 1 commit into
OpenSWE1R:masterfrom
JayFoxRox:dangerous-mat

Conversation

@JayFoxRox

@JayFoxRox JayFoxRox commented May 2, 2018

Copy link
Copy Markdown
Member

Depends on #3 .

The function sub_4323C0 (Demo) would run into trouble if arguments a1 and a2 overlap. However, the way this is written, it's very unlikely that this is intended to happen. The original code probably passed objects or used restricted pointers for optimizations.

I've therefore taken the liberty to rewrite it with restricted pointers (loss of accuracy!). I'm still not sure what operation this is.

I'll create a new issue to warn users about the usage of restrict.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant