Commit 2565b61a authored by Douglas Serson's avatar Douglas Serson
Browse files

Change Scatr function to work with variable P

parent f8efa57e
......@@ -674,7 +674,16 @@ namespace Vmath
{
while (n--)
{
*(z + *(y++)) = *(sign++) * (*(x++));
if(*sign)
{
*(z + *(y++)) = *(sign++) * (*(x++));
}
else
{
x++;
y++;
sign++;
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment