{"action":"created","issue":{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/1338","labels_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/1338/labels{/name}","comments_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/1338/comments","events_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/1338/events","html_url":"https://github.com/ComputationalRadiationPhysics/picongpu/issues/1338","id":127421130,"number":1338,"title":"libPMacc using algorithm::math instead of ::math","user":{"login":"PrometheusPi","id":5121158,"avatar_url":"https://avatars.githubusercontent.com/u/5121158?v=3","gravatar_id":"","url":"https://api.github.com/users/PrometheusPi","html_url":"https://github.com/PrometheusPi","followers_url":"https://api.github.com/users/PrometheusPi/followers","following_url":"https://api.github.com/users/PrometheusPi/following{/other_user}","gists_url":"https://api.github.com/users/PrometheusPi/gists{/gist_id}","starred_url":"https://api.github.com/users/PrometheusPi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrometheusPi/subscriptions","organizations_url":"https://api.github.com/users/PrometheusPi/orgs","repos_url":"https://api.github.com/users/PrometheusPi/repos","events_url":"https://api.github.com/users/PrometheusPi/events{/privacy}","received_events_url":"https://api.github.com/users/PrometheusPi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/labels/libPMacc","name":"libPMacc","color":"fbca04"},{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/milestones/2","html_url":"https://github.com/ComputationalRadiationPhysics/picongpu/milestones/Open%20Beta","labels_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/milestones/2/labels","id":395839,"number":2,"title":"Open Beta","description":"Tasks to complete until the release of our open beta (version 0.1)\r\n\r\nThe [beta](https://en.wikipedia.org/wiki/Software_release_life_cycle#Beta) release shall be useful for *physicist* that used a Particle-in-Cell code *before*. Experience with *compiling libraries from source* and a *good Linux knowledge* is required for the initial installation.\r\n","creator":{"login":"ax3l","id":1353258,"avatar_url":"https://avatars.githubusercontent.com/u/1353258?v=3","gravatar_id":"","url":"https://api.github.com/users/ax3l","html_url":"https://github.com/ax3l","followers_url":"https://api.github.com/users/ax3l/followers","following_url":"https://api.github.com/users/ax3l/following{/other_user}","gists_url":"https://api.github.com/users/ax3l/gists{/gist_id}","starred_url":"https://api.github.com/users/ax3l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ax3l/subscriptions","organizations_url":"https://api.github.com/users/ax3l/orgs","repos_url":"https://api.github.com/users/ax3l/repos","events_url":"https://api.github.com/users/ax3l/events{/privacy}","received_events_url":"https://api.github.com/users/ax3l/received_events","type":"User","site_admin":false},"open_issues":144,"closed_issues":1089,"state":"open","created_at":"2013-08-06T16:38:57Z","updated_at":"2016-01-19T19:49:06Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-01-19T11:03:37Z","updated_at":"2016-01-19T20:08:34Z","closed_at":null,"body":"While rewriting the particle to field interpolation for the pusher I found the following strange behavior.\r\nThe code is using\r\n```c++\r\n{\r\nusing namespace PMacc;\r\n...\r\n}\r\n```\r\nthus `math::floor(...)` should reference to `PMacc::math::floor`. But the compiler searches for `floor` in `PMacc::algorithms::math`, where there is no `floor`.\r\n\r\nUsing  `PMacc::math::floor(...)` **solves** the problem. But why is the compiler looking in the namespace `algorithms`?\r\n\r\nThere is no `using namespace *algorithms` anywhere in libPMacc or PIConGPU. \r\nThis might relate to #846."},"comment":{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/comments/172971261","html_url":"https://github.com/ComputationalRadiationPhysics/picongpu/issues/1338#issuecomment-172971261","issue_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/1338","id":172971261,"user":{"login":"ax3l","id":1353258,"avatar_url":"https://avatars.githubusercontent.com/u/1353258?v=3","gravatar_id":"","url":"https://api.github.com/users/ax3l","html_url":"https://github.com/ax3l","followers_url":"https://api.github.com/users/ax3l/followers","following_url":"https://api.github.com/users/ax3l/following{/other_user}","gists_url":"https://api.github.com/users/ax3l/gists{/gist_id}","starred_url":"https://api.github.com/users/ax3l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ax3l/subscriptions","organizations_url":"https://api.github.com/users/ax3l/orgs","repos_url":"https://api.github.com/users/ax3l/repos","events_url":"https://api.github.com/users/ax3l/events{/privacy}","received_events_url":"https://api.github.com/users/ax3l/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T20:08:34Z","updated_at":"2016-01-19T20:08:34Z","body":"greping did not lead to immediate results for me today, either.\r\n\r\nccing @erikzenker @psychocoderHPC "}}