MilesCranmer commited on
Commit
51a22aa
1 Parent(s): 2c4e49b

Fix weight shape error in tutorial

Browse files
Files changed (1) hide show
  1. examples/pysr_demo.ipynb +2 -2
examples/pysr_demo.ipynb CHANGED
@@ -629,7 +629,7 @@
629
  },
630
  "outputs": [],
631
  "source": [
632
- "weights = 1 / sigma[:, None] ** 2\n"
633
  ]
634
  },
635
  {
@@ -644,7 +644,7 @@
644
  },
645
  "outputs": [],
646
  "source": [
647
- "weights[:5, 0]\n"
648
  ]
649
  },
650
  {
 
629
  },
630
  "outputs": [],
631
  "source": [
632
+ "weights = 1 / sigma ** 2\n"
633
  ]
634
  },
635
  {
 
644
  },
645
  "outputs": [],
646
  "source": [
647
+ "weights[:5]\n"
648
  ]
649
  },
650
  {