Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

Use DYNAMIC_GRAPH_ENTITY_DECL macro to avoid potential redeclaration of variables #5

Closed
wants to merge 3 commits into from

Conversation

francois-keith
Copy link
Contributor

No description provided.

Francois Keith added 2 commits December 5, 2013 12:21
Use the dedicated macro to this purpose.
The error came from the fact that the method was not declared
as const. The consequences were that the following python orders
were possible:

mytask = TaskInequality ('mytask')
mytask = Task ('mytask')

The second line should crash but doesn't, because the method getClassName
called is the one of the mother class.
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling ce793a3 on francois-keith:master into * on stack-of-tasks:master*.

This allows to do 'print solver' in the python interface.
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 0b094ae on francois-keith:master into * on stack-of-tasks:master*.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants