dwavesystems / dwavesystems/dimod

as_bqm(n) needs check for int

Open
#613 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
143
Forks
91
Avg merge
1h 24m
Merged PRs (30d)
3

Description

**Description**

![image](https://user-images.githubusercontent.com/34041130/74980380-3466f400-53e5-11ea-8f9b-969c39bfa110.png)
(sorry copy&paste from a JN terminal is iff.)

**Steps To Reproduce**
Stack Overflow provides an excellent guide on [how to create a Minimal, Complete and Verifiable example.](https://stackoverflow.com/help/mcve)

**Expected Behavior**
An error message that n must be an int

**Environment**
- OS: Ubuntu
- Python version: 3.6.7

**Additional Context**
I had a comment in the PR here: https://github.com/dwavesystems/dimod/pull/603/files
under
```
elif isinstance(cls, (Sequence, Set)):
```
Maybe I'll just add the check when I go in later

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.