Skip to content

Commit c591909

Browse files
committed
bugfix
1 parent 1101334 commit c591909

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sgdml/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2323
# SOFTWARE.
2424

25-
__version__ = '0.5.2.dev1'
25+
__version__ = '0.5.2.dev2'
2626

2727
MAX_PRINT_WIDTH = 100
2828
LOG_LEVELNAME_WIDTH = 7 # do not modify

sgdml/torchtools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def forward(self, J_indx):
364364
)
365365

366366
elif _n_perm_batches < self.n_perms:
367-
self.n_perm_batches = _next_batch_size(
367+
_n_perm_batches = _next_batch_size(
368368
self.n_perms, _n_perm_batches
369369
)
370370

0 commit comments

Comments
 (0)