{"action":"closed","issue":{"url":"https://api.github.com/repos/ffarzat/aforge/issues/400","labels_url":"https://api.github.com/repos/ffarzat/aforge/issues/400/labels{/name}","comments_url":"https://api.github.com/repos/ffarzat/aforge/issues/400/comments","events_url":"https://api.github.com/repos/ffarzat/aforge/issues/400/events","html_url":"https://github.com/ffarzat/aforge/issues/400","id":85603691,"number":400,"title":"Subtraction of double with Complex has wrong output","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ffarzat/aforge/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/ffarzat/aforge/labels/Code%20Review%20do%20Leo","name":"Code Review do Leo","color":"5319e7"},{"url":"https://api.github.com/repos/ffarzat/aforge/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"ffarzat","id":1567820,"avatar_url":"https://avatars.githubusercontent.com/u/1567820?v=3","gravatar_id":"","url":"https://api.github.com/users/ffarzat","html_url":"https://github.com/ffarzat","followers_url":"https://api.github.com/users/ffarzat/followers","following_url":"https://api.github.com/users/ffarzat/following{/other_user}","gists_url":"https://api.github.com/users/ffarzat/gists{/gist_id}","starred_url":"https://api.github.com/users/ffarzat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffarzat/subscriptions","organizations_url":"https://api.github.com/users/ffarzat/orgs","repos_url":"https://api.github.com/users/ffarzat/repos","events_url":"https://api.github.com/users/ffarzat/events{/privacy}","received_events_url":"https://api.github.com/users/ffarzat/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-06-05T18:46:38Z","updated_at":"2015-09-17T21:08:07Z","closed_at":"2015-09-17T21:08:07Z","body":"```\nWhat steps will reproduce the problem?\n1.\n2.\n3.\n\nWhat is the expected output? What do you see instead?\nFollowing function (in AForge.Math.Complex):\n\npublic static Complex Subtract( double s, Complex a )\n{\n     return new Complex( s - a.Re, a.Im );\n}\n\nThe return value contains an error. The imaginary part should also be negated:\n\npublic static Complex Subtract( double s, Complex a )\n{\n     return new Complex( s - a.Re, - a.Im );\n}\n\nWhat version of the product are you using?\n2.2.5\n\nPlease provide any additional information below.\n\n```\n\nOriginal issue reported on code.google.com by `rob.bier...@gmail.com` on 8 Mar 2015 at 8:26"}}