-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Variable: Fix Variable.copy for StringVariable and TimeVariable
Due to static constructors in Variable.copy and ContinuousVariable.copy the StringVariable.copy and TimeVariable.copy used to return Variable and ContinuousVariable instances respectively. Fix this by dispatching on `type(self)`.
- Loading branch information
1 parent
a291589
commit 6aaf362
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters